Hi everyone,
I don't know if inheritance is the correct term to use for what I need and
would like to ask about.
This is my situation: I'd like to different group defaults and permission
defaults for files and directories in various directory trees. For
example, I could have files and directories /var/public/ default to be
owned by the user and his/her default group (normally the user, too), with
permissions u=rwX,g=rwX,o=rwX. Then I could have all files in /home/$USER/
to have the same ownership but only the permissions u=rwX,g=,o=.
Furthermore I'd like /var/public/ to be writeable by everyone, but they
shouldn't be able to delete the entire directory (although they can delete
the files within).
My problem now is that I can do either of these using umasks, but how can
I do both? I was wondering if EAs and ACLs were the solution for me. I
will be (already am) using XFS, of course.
Thanks in advance! :)
--> Jijo
--
Linux, MS-DOS, and Windows NT ...
... also known as the Good, the Bad, and the Ugly
|