mtree acl [patch]
Tim Kientzle
kientzle at freebsd.org
Sat Apr 12 05:09:56 UTC 2008
>>Could you give an example of a short mtree file that includes ACLs?
>
> Here, the parent dir and "file" have ACLs, "kk" doesn't. I
> considered "acl=none" for ACL-less files, but I think it'll
> produce more problems than use cases.
>
> # .
> /set type=file
> . type=dir \
> acl=user::rwx,user:root:rwx,group::r-x,mask::rwx,other::r-x
> file acl=user::rw-,group::r--,group:wheel:rwx,mask::rwx,other::r--
> kk acl=user::rw-,group::r--,other::r--
> ..
'kk' here should not have an 'acl' keyword at all.
Just omit it. If someone specifies 'acl' keyword and
not 'mode' keyword, then its because they only want to
see extended ACL information.
Tim Kientzle
More information about the freebsd-hackers
mailing list