[PATCH] Fix for nss/db-Makefile

Geoff Keating geoffk@ozemail.com.au
Sun Dec 20 18:50:00 GMT 1998


> 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>



More information about the Libc-hacker mailing list