Date: Fri, 31 May 1996 20:46:10 +1000 From: Bruce Evans <bde@zeta.org.au> To: freebsd-hackers@freebsd.org, j@uriah.heep.sax.de Cc: kuku@gilberto.physik.rwth-aachen.de Subject: Re: newgrp(1) Message-ID: <199605311046.UAA00009@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>needed there. Anyway, SysV semantics are to create a file with the >primary group ownership. BSD semantics is to create a file inheriting >the group ownership from the parent directory -- so who cares for the >primary group at all? Programs that create temporary files in $TMPDIR (usually with the wrong group) and move the result to a file in another file system. If the program is run by root, then the result ends up with the wrong group ownership. Otherwise the chown to set the group fails and the result ends up with the right ownership. An annoying warning message if printed about the failure if the program isn't sloppy. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605311046.UAA00009>