From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua1-x935.google.com (mail-ua1-x935.google.com [IPv6:2607:f8b0:4864:20::935]) by sourceware.org (Postfix) with ESMTPS id 7160C385840C for ; Tue, 14 Dec 2021 14:10:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7160C385840C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ua1-x935.google.com with SMTP id w23so35010684uao.5 for ; Tue, 14 Dec 2021 06:10:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HyqIrZmBrzxRkvIMLjX6i1xbi/XP3T7ixe/ZP2274PA=; b=TqsbCdViFz2RCoec+kZ4rGHhFPM4OMjJ8ZXAStlER+M2bmD80M03sJVyrPF2UFXXzK nruDJVVrhjjayUHx5Be2FwDGQ5BO6regPuGxLYikN701UcQv998IYFyzKvodsvZKWhmO qpYAUZrRQUMtTRD1uZMNhvQuMLJv4RgQDrKQL5e9HZNaaeywYc8z3h857+hfpwLN14sz I8TMyfOzQtUot+m6E0rbH6ffbXIT8boxy6VC8DwskAaJEIZrGOKmFmZRqJFpZBfy83Kz 2YXT0Osp5S6jYe4ZhJhue7Fcr7TxkE58JksMR1Tcw6YWvkb/3VhwyUZOlD3mll1sSfDG Yu+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HyqIrZmBrzxRkvIMLjX6i1xbi/XP3T7ixe/ZP2274PA=; b=1o5f58bG4iaA/80f0IhVMDZX8Jg0POUs+XEFwfzrIMSsEu7HciR5u0bp8MAqE0gb9k 2fUGw0wV4dLD1KeIUZby+EXjPBBtgHJ/YqFnColcgOJAYfMt0wPZY+UEXlrBSJYi/0mI a/OaQKc5FPkHfaXej+OY3ooVPcbCFVSBonBdf9UqOiwGVC0wQ+nfdotswPURJCU5smqA yGPOn1kCAv65y8+tgAlGoQcAHXdDwC+19AvlPrMxTMSTPKme2H1y5E5g3vXRG2d/UQmo fdxlNhurzTY4kowx0G87dyhuI58YSCFVE/dfA3/IerFYVGousYAwOt5bqHcIqacTMue0 a2gQ== X-Gm-Message-State: AOAM532bJzvleu4BivMPEZXOUheXDeD+4LStE+z6vgDCbyAD+xaaq30q Oniv5uuT5Q/9t+tK4gnzktCS2uCOzEuHIDAm170= X-Google-Smtp-Source: ABdhPJydmqTyjUW+UngagCZiQi2i/M+nnkDnZBVuXiyk35QqFAlC3uAAGFbkrn0r/sqjlTsPzU1UACBSBYSMkwEUzsM= X-Received: by 2002:a67:f58b:: with SMTP id i11mr5302531vso.76.1639491013906; Tue, 14 Dec 2021 06:10:13 -0800 (PST) MIME-Version: 1.0 References: <0f5987ef-73b1-ef02-a985-d7c1d796ff45@iol.it> In-Reply-To: <0f5987ef-73b1-ef02-a985-d7c1d796ff45@iol.it> From: Sharuzzaman Ahmat Raslan Date: Tue, 14 Dec 2021 22:09:36 +0800 Message-ID: Subject: Re: lost of admin right To: efa@iol.it Cc: The Cygwin Mailing List X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2021 14:10:18 -0000 Hi Valerio, Have you tried using the "-B" command line option when running setup-x86_64.exe ? Thank you. On Tue, Dec 14, 2021 at 9:33 PM Valerio Messina via Cygwin < cygwin@cygwin.com> wrote: > hi, > I have a company PC where I was admin and installed Cygwin in a non > supported path: > D:\Program Files (x86)\cygwin64 > /cygdrive/d/Program Files (x86)/cygwin64 > and worked like a sharm for years, with a quite complex env. > > Now admin right was revoked to me, and the update via setup.exe cannot > proceed. > I can ask to the company admin to update the distribution every time, > but this is impractical. > > 1) Do you know if re-installing to supported path something like: > D:\ProgramFiles\cygwin64 > /cygdrive/d/ProgramFiles/cygwin64 > let me update the distro without admin right? > > I made a backup of the about 800 installed packages with: > $ cygcheck -c -d | cut -d' ' -f1 | tail -n+3 > installedPackages2021-12.txt > I never tryed to restore the backup with: > $ setup -M -P package1,package2, ... > > 2) Someone know if that work well ? > > thank you, > -- > Valerio > > -- > Problem reports: https://cygwin.com/problems.html > FAQ: https://cygwin.com/faq/ > Documentation: https://cygwin.com/docs.html > Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple > -- Sharuzzaman Ahmat Raslan