This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [UPDATE] base-passwd (Was Re: base-passwd sets weird permissions)
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-apps at cygwin dot com
- Cc: John Morrison <john at morrison dot mine dot nu>
- Date: Mon, 11 May 2009 12:31:13 +0200
- Subject: Re: [UPDATE] base-passwd (Was Re: base-passwd sets weird permissions)
- References: <2ea76d50790d2ae60f156b2ce3d59c76.squirrel@mail.morrison.mine.nu>
- Reply-to: cygwin-apps at cygwin dot com
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