This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [UPDATE] base-passwd (Was Re: base-passwd sets weird permissions)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]