[plug] Groups and files

Anthony J. Breeds-Taurima tony at cantech.net.au
Fri Dec 17 09:33:06 WST 1999


On Fri, 17 Dec 1999, Mike Holland wrote:

> On Thu, 16 Dec 1999, Damion Hill wrote:
> 
> > Evening All,
> > I'm wondering if there is a way to force files within a given directory 
> > structure to have a specific user.group combination?
> 
> 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. I think this is a
> BSD-ism. Is there any way to do this in Linux? I'd search, but have no
> idea what its called.

"chmod g+s" on the directory ... then all file creaated in that dir will be in
the "group" of that dir.    It will, however, be up to the individual users to
set thier umask appropriatly.


Yours Tony.



More information about the plug mailing list