This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


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

Re: [PATCH] Fix for nss/db-Makefile


> From: smurf@noris.de (Matthias Urlichs)
> Newsgroups: dist.glibc
> Date: 	20 Dec 1998 14:28:32 +0100

>   Joel Klecker <espy@debian.org> writes:
> > +	@chgrp 0 $@
> > [...]
> > +	@echo "has been set to be readable only by root.  You may want"
> > +	@echo "to make it readable by the \`shadow' group depending"
> > +	@echo "on your configuration."
> 
> What'd be wrong with
> 
> > +	@chgrp shadow $@ 2>/dev/null || ( chgrp 0 $@ ; echo ... )
> 
> instead?

That's a bit scary.  What if there is a user named `shadow' with
accompanying group?

-- 
Geoffrey Keating <geoffk@ozemail.com.au>


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