[UPDATE] base-passwd (Was Re: base-passwd sets weird permissions)
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon May 11 10:31:00 GMT 2009
John,
On May 4 10:51, John Morrison wrote:
> Hi Corinna,
>
> Patch applied...
>
> md5sum for base-passwd-3.0-1.tar.bz2 479cb2a678f712b326dc09a24d329cfe
> <http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-passwd/base-passwd-3.0-1.tar.bz2>
>
> <http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-passwd/md5sum>
>
> (not changed...)
> <http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-passwd/setup.hint>
>
> Let me know if there are any issues :)
Unfortunately there are:
> > -cp -f /etc/group /tmp/group.mkgroup && \
> > +cp -fp /etc/group /tmp/group.mkgroup && \
> > ( [ -w /etc/group ] || chmod --silent a+w /etc/group ; ) && \
> > echo "root:S-1-5-32-544:0:" > /etc/group && \
> > -sed -e '/:S-1-1-0:/d' -e '/root:S-1-5-32-544:0:/d' /tmp/group.mkgroup >>
> > /etc/group && \
> > +sed -e '/root:S-1-5-32-544:0:/d' /tmp/group.mkgroup >> /etc/group && \
> > chmod --silent --reference=/etc/passwd /etc/group
> > rm -f /tmp/group.mkgroup
At this point in the patch you also removed the
echo "root:S-1-5-32-544:0:" > /etc/group && \
line for some reason. The result is now that the /etc/group file
contains all entries twice, and the "root" entry is still missing.
That's a problem. Can you please update the base-passwd package?
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
More information about the Cygwin-apps
mailing list