This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: base-passwd: postinstall script too open permissions
On Aug 20 09:34, John Morrison wrote:
> On Wed, August 20, 2008 9:14 am, Corinna Vinschen wrote:
> > Hi John,
> >
> > do you remember the reason why the passwd-grp.sh postinstall script
> > calls
> >
> > chmod 777 /etc/passwd
> > chmod 777 /etc/group
> >
> > ? That's not right, IMO. The permissions should rather be 644 and
> > not allow writing for everyone.
> >
> > Along the same lines, the `chmod a+w' calls in the second half of the
> > script should better just be `chmod u+w'.
> >
> > Would you mind to change that, please?
>
> Sure, although it might be tomorrow night before I get time. What were
> the changes you made to the setup.hint for base-[file/passwd] btw?
It only depends on base-cygwin now:
requires: base-cygwin
We must make sure that base-cygwin is the first in the dependency order,
then base-passwd. I'm not sure yet about base-files.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat