From: Andrey Repin <anrdaemon@yandex.ru>
To: Valerio Messina via Cygwin <efa@iol.it>, cygwin@cygwin.com
Subject: Re: lost of admin right
Date: Tue, 14 Dec 2021 20:50:48 +0300 [thread overview]
Message-ID: <1318628227.20211214205048@yandex.ru> (raw)
In-Reply-To: <0f5987ef-73b1-ef02-a985-d7c1d796ff45@iol.it>
Greetings, Valerio Messina via Cygwin!
> 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.
Ask your administrator to move entire installation to a less guarded directory
(s.a. C:\Cygwin64 ) and assign you write permissions to the tree.
Then use `setup.exe --no-admin` switch to upgrade your installation (specify
correct path of a new installation's location).
> 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?
Could just move entire directory. Safe within the same working environment.
> 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 ?
With some obvious reservations, the most simple solution will work just fine.
--
With best regards,
Andrey Repin
Tuesday, December 14, 2021 20:47:05
Sorry for my terrible english...
prev parent reply other threads:[~2021-12-14 18:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-14 13:32 Valerio Messina
2021-12-14 14:09 ` Sharuzzaman Ahmat Raslan
2021-12-14 16:47 ` david
2022-01-17 14:12 ` Valerio Messina
2021-12-14 17:50 ` Andrey Repin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1318628227.20211214205048@yandex.ru \
--to=anrdaemon@yandex.ru \
--cc=cygwin@cygwin.com \
--cc=efa@iol.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).