delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/12/14/11:47:48

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 03793385803A
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=starks-browning.com
Authentication-Results: sourceware.org;
spf=none smtp.mailfrom=starks-browning.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=starks-browning.com; s=rsa1;
h=content-transfer-encoding:content-type:mime-version:message-id:date:subject:
in-reply-to:references:cc:to:from:from;
bh=GvII6bqTuKksbmnsyTwOBqpSu25uBs92b0tkf4YlmDw=;
b=G88Vp69XC7uUe7C1exyMayi3ElRmW0pHgh4hFr2ZkMqysbM0TB9O+uWqEBpO4ZDbdsMoVDKrLV5kH
NYJtN8CCQjPhxKwyc0WlVLaCcidRm4sqzaEAp6DQpOmeISNnPJZ5LL0s1nzN2fEc3qUVf7kx5SDp4W
yAHNaijx8JCOzygN3bV4WJD/WN2H0i3iGHsrXYluLMw5nlgP9LEVdLgcjIhKE1YLUYdoA4M0UTLCuE
woiWWCb/MR0ByOdXBSHdNJM6Q4MVopfVKAXl1hDNX1FLlrUHowwj4yyFuzXG1yMSfcG6yHUhH1dfoT
Ahw560lU7vWxpdOIZyQBUXZwO3xKkjg==
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed;
d=starks-browning.com; s=ed1;
h=content-transfer-encoding:content-type:mime-version:message-id:date:subject:
in-reply-to:references:cc:to:from:from;
bh=GvII6bqTuKksbmnsyTwOBqpSu25uBs92b0tkf4YlmDw=;
b=Mk7jqXfzMCQL1CsLTyffrQ9a8wmmvo5tyOyoci9GXzjPCfaBwFAlYKBRFXPJEIASGsmH2NJEed4UH
U6cU9EsCw==
X-HalOne-Cookie: 3a01bafbec38a0178e22f84b06dfeeb2b21c30fa
X-HalOne-ID: 82de87d1-5cfd-11ec-9170-d0431ea8bb03
From: <david AT starks-browning DOT com>
To: "'Sharuzzaman Ahmat Raslan'" <sharuzzaman AT gmail DOT com>, <efa AT iol DOT it>
References: <0f5987ef-73b1-ef02-a985-d7c1d796ff45 AT iol DOT it>
<CAK+zuck-HgrHccHn1-QmS6CKZXhNJMLRgS1fjnBiEM1dt19mVA AT mail DOT gmail DOT com>
In-Reply-To: <CAK+zuck-HgrHccHn1-QmS6CKZXhNJMLRgS1fjnBiEM1dt19mVA@mail.gmail.com>
Subject: RE: lost of admin right
Date: Tue, 14 Dec 2021 16:47:23 -0000
Message-ID: <01d301d7f10a$458574a0$d0905de0$@starks-browning.com>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQIOojPcNETk9j4UPA0QeZ6gwpex/QJ72m0uq7DwNfA=
X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE,
RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,
SPF_NONE 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-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>
Cc: "'The Cygwin Mailing List'" <cygwin AT cygwin DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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

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


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