From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailrelay3-3.pub.mailoutpod1-cph3.one.com (mailrelay3-3.pub.mailoutpod1-cph3.one.com [46.30.212.12]) by sourceware.org (Postfix) with ESMTPS id 03793385803A for ; Tue, 14 Dec 2021 16:47:26 +0000 (GMT) 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 Received: from WINNUC (cpc107663-brnt1-2-0-cust356.4-2.cable.virginm.net [82.28.53.101]) by mailrelay3.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id 82de87d1-5cfd-11ec-9170-d0431ea8bb03; Tue, 14 Dec 2021 16:47:24 +0000 (UTC) From: To: "'Sharuzzaman Ahmat Raslan'" , Cc: "'The Cygwin Mailing List'" References: <0f5987ef-73b1-ef02-a985-d7c1d796ff45@iol.it> In-Reply-To: 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQIOojPcNETk9j4UPA0QeZ6gwpex/QJ72m0uq7DwNfA= Content-Language: en-gb 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@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 16:47:30 -0000 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 -- 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