Date: Fri, 11 Apr 2008 22:09:56 -0700 From: Tim Kientzle <kientzle@freebsd.org> To: infofarmer@freebsd.org Cc: hackers@freebsd.org Subject: Re: mtree acl [patch] Message-ID: <48004424.3080403@freebsd.org> In-Reply-To: <20080411052305.GE81939@amilo.cenkes.org> References: <20080410192552.GC81939@amilo.cenkes.org> <47FEF166.6060606@freebsd.org> <20080411052305.GE81939@amilo.cenkes.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48004424.3080403>