看板 FB_hackers 關於我們 聯絡資訊
On Thu, Apr 10, 2008 at 10:04:38PM -0700, Tim Kientzle wrote: > Andrew Pantyukhin wrote: >> ... ACL support in our mtree ... >> Also here: http://heka.cenkes.org/sat/diffs/mtree_acl.diff > > Could you give an example of a short mtree file that includes ACLs? > > I see a few minor style issues (tag names should be sorted on > the mtree.5 and mtree.8 man pages, you need to correct a comment > that got duplicated in mtree.h), but the idea looks right. Thanks for taking a look, I corrected the things you pointed out. 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. # user: sat # machine: amilo.cenkes.org # tree: /usr/home/sat/bsdevel/src/usr.sbin/mtree/tt # date: Fri Apr 11 09:12:43 2008 # . /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-- ... _______________________________________________ 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"