From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from libero.it (smtp-17.italiaonline.it [213.209.10.17]) by sourceware.org (Postfix) with ESMTPS id F270F3858D3C for ; Mon, 17 Jan 2022 14:12:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org F270F3858D3C Received: from [212.237.25.249] ([212.237.25.249]) by smtp-17.iol.local with ESMTPA id 9Sjyn4pkGKxNZ9SjznXxGi; Mon, 17 Jan 2022 15:12:12 +0100 x-libjamoibt: 1601 X-CNFS-Analysis: v=2.4 cv=adykITkt c=1 sm=1 tr=0 ts=61e5793c cx=a_exe a=4p9UplzaYxTukIMmyNyPrA==:117 a=4p9UplzaYxTukIMmyNyPrA==:17 a=IkcTkHD0fZMA:10 a=SiN-7NtDAAAA:8 a=w_pzkKWiAAAA:8 a=nxWA6Nym-lKRWwk2q7UA:9 a=QEXdDO2ut3YA:10 a=buB1NfXUTBUA:10 a=IfQ-iFkkCvMA:10 a=zaZyTgZ3r4z6UOh3k9QD:22 a=sRI3_1zDfAgwuvI8zelB:22 Subject: Re: lost of admin right To: 'The Cygwin Mailing List' References: <0f5987ef-73b1-ef02-a985-d7c1d796ff45@iol.it> <01d301d7f10a$458574a0$d0905de0$@starks-browning.com> Reply-To: efa@iol.it From: Valerio Messina Message-ID: <3ca7e581-2333-edd4-fe41-26e8357078d5@iol.it> Date: Mon, 17 Jan 2022 15:12:10 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 SeaMonkey/2.53.10.2 MIME-Version: 1.0 In-Reply-To: <01d301d7f10a$458574a0$d0905de0$@starks-browning.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4xfMMBbnvmeNUtJA42lRUd/FMuCbqv278ulPrf9528QU3jf9Grv+O6txHFWnjs2pIbGCw0TTGtk+hZIyaIkbUD5jylC669WgeP4c4J/2MRGz8t2iaTcT/q 2GdQyF3zTGruJGDSG82mwMxrofkFRctnx91ei+wo7rdrAvd19exNRJ4F4m2GVilJjQa9s0QC6n/ICw== X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, 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 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: Mon, 17 Jan 2022 14:12:18 -0000 hi, the simple add of -B (--no-admin) work, also keeping the installation to the previous path. Update work, and shell start as always. Even the update from 3.2.0 to 3.3.3 work, for both 64 and 32 installations. Thank you, Valerio On 12/14/21 5:47 PM, david@starks-browning.com wrote: > You need --no-admin option to setup if you don't have administrative > privileges, if that's all you're after. > > If you are asking how to modify/update your existing installation that was > installed as administrator, that might be impossible, if you no longer have > privileges there. > > Regards, > David > > -----Original Message----- > From: Cygwin On Behalf > Of Sharuzzaman Ahmat Raslan > Sent: 14 December 2021 14:10 > To: efa@iol.it > Cc: The Cygwin Mailing List > Subject: Re: lost of admin right > > 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 > -- Valerio