forced access permissions
Hi all,
I want to configure a directory that way, that all new created files/directories in it belong to one specific group.
Background:
I need a common directory for a subset of my users. They all belong to a unique group (say xyz), what is NOT their primary group.
The common directory permits access only to members of that group xyz.
Now, I want to secure, that all files, the groupmembers will create, will automatically belong to group xyz.
I tried the gid bit, what worked for the directory content. But any subdirectories fall out of that rule.
And other ways - I don't know. Something with a cron job, that chowns all the time does not seem very productive...
Does anyone know, how to realize this?
Thanks in advance,
Clemens
|