delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/01/17/09:12:48

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EFCD93857C48
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1642428767;
bh=JEcpHbkzOl8oHsMR9z2FVz+nU0ZN1xR2yVxrPplOYOk=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=tkaiT9CHG7kG773e6ROzzyrtCss26AzpQr5oEopv8btC3hFgEfGxmh6on0UtnIoUW
NboRHNmDlqmLYAvjqK+93vjz4UB4yOZoEmElITtGZZTIIpiHOt/xrAVBdcUyJDXVGx
hHr+xb3oUVGpSsGiaPQs6m+q7CMRtMAHnuZfE4mY=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org F270F3858D3C
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'" <cygwin AT cygwin DOT com>
References: <0f5987ef-73b1-ef02-a985-d7c1d796ff45 AT iol DOT it>
<CAK+zuck-HgrHccHn1-QmS6CKZXhNJMLRgS1fjnBiEM1dt19mVA AT mail DOT gmail DOT com>
<01d301d7f10a$458574a0$d0905de0$@starks-browning.com>
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>
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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Valerio Messina via Cygwin <cygwin AT cygwin DOT com>
Reply-To: efa AT iol DOT it
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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 AT starks-browning DOT 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 <cygwin-bounces+david=starks-browning DOT com AT cygwin DOT com> On Behalf
> Of Sharuzzaman Ahmat Raslan
> Sent: 14 December 2021 14:10
> To: efa AT iol DOT it
> Cc: The Cygwin Mailing List <cygwin AT cygwin DOT com>
> 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 AT cygwin DOT 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

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019