Re: ACL question

From: Darren Moffat (Darren.Moffat_at_eng.sun.com)
Date: 07/18/01


>I tried this command:
>setfacl -s u::rwx,g::rwx,o:r-x,m:rwx,d:u::rw-,d:g::rw-,d:o:r-x,d:m:rwx
testdir
>
>And then issued the command giving ACLs to the particular group I
>want to have permissions (in addition to the owner and group)
>
>setfacl -m g:lms:rwx testdir

This gives the lms group rwx access to testdir and doesn't effect the
default ACL.

You should say:

setfacl -m d:g:lms:rwx testdir

>However subsequent file and directories created underneath the parent
>assume the default umask of the user, they don't seem to inherit the
>ACLs of the parent directory.
>
>Is what I want to do possible? if so what am I doing wrong?

Yes, when you specific the default group acl you have to give it the
group name.

--
Darren J Moffat