This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: setup clobbers passwd
- To: cygp <cygwin-patches at cygwin dot com>
- Subject: Re: setup clobbers passwd
- From: "Gerrit P. Haase" <gp at familiehaase dot de>
- Date: Sat, 27 Oct 2001 13:01:09 +0200
- CC: cyga <cygwin-apps at cygwin dot com>
- Organization: Esse keine toten Tiere
- References: <047e01c15ece$5dd5c850$0300a8c0@ufo>
- Reply-To: cyga <cygwin-apps at cygwin dot com>
Hallo Trevor,
Am 2001-10-27 um 12:01 schriebst du:
> The attached simple patch fixes the problem of passwd being reset everytime
> setup is run.
> "Rename" fails if a file named "*.done" exists therefore you end up with two
> files in the /etc/postinstall named passwd-grp.bat.done and passwd-grp.bat.
> Consequently, passwd-grp.bat clobbers your passwd every time setup is run.
> So how do you end up in this position ---- delete your passwd and group
> files after you have run setup for the first time. I suspect this is
> happening to many users .........
O.k., I see the problem, but why is there created a second passwd-grp.bat?
I have one file there: passwd-grp.bat.done, there was never created a second
passwd-grp.bat, so how could this happen?
> The patched setup will fix the problem the first time it is run,
> unfortunately, this first time run will still reset the passwd and group
> files. However, the problem will be fixed thereafter.
We will get a lot of questions at the list, "why was my /etc/passwd
recreated...?" and all the problems reported the last time because of
big domains and so.
Fup2 cygwin-apps
Ciao,
Gerrit P. Haase mailto:gp@familiehaase.de
--
=^..^=