>>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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"