Hi,

Say, I have a directory chowned to:
owner "zly" (me)
group "hosted"
with chmod 770.
This directory also have an acl wich allows user "johndoe" (u:johndoe:rwx)
zly's default group is "users" and is a member of group "www-project"
johndoes default group is "www-project" (and not a member of "users")

Now, it it possible to define, when both of us works in this directory, and zly creates a new file, that it would be (ch)owned by the non-default group, "www-project", instead of the default group "users"?

The reason for this, is that currently when zly creates a new file, johndoe does not have access to it.

Perhaps a combination of umask, chmod/acl (can you set a umask for a specific directory btw) ?
Or do they have to change their current working group by the command "sg" ?

Maybe the question has come up before, but i couldn't find it in the archives (or, i did not use the correct keywords).

Best regards
Sylvester
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to