[plug] Groups and files

Matt Kemner zombie at networx.net.au
Fri Dec 17 08:59:50 WST 1999


On Fri, 17 Dec 1999, Mike Holland wrote:

> There used to be a way to set a bit on a directory, and all files created
> in it would inherit the group from the directory. 

That would be the sgid bit (which Debian makes a lot of use of)

Just chmod 2775 the directory and all files in the dir will be created
with the same group as the directory.

newgrp(1) is probably an easier way to handle it though, so long as you
can convince everyone to use it.
(Or just set their login group to html)

 - Matt



More information about the plug mailing list