[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ezjail] ACLs under image based jail.
On Wed, Feb 10, 2010 at 5:02 PM, Andrew Hotlab
<andrew.hotlab AT hotmail DOT com> wrote:
>> From: rnodal AT gmail DOT com
>> Date: Wed, 10 Feb 2010 16:45:37 -0500
>> To: ezjail AT erdgeist DOT org
>> Subject: [ezjail] ACLs under image based jail.
>> Hello all,
>> I have a couple of jails and one of them is an image based jail and I
>> would like to take advantage of ACLs but I cannot find where can I
>> specify to mount the image with ACLs support.
>> I took a look under /usr/local/etc/ezjail/jailname and I found some
>> "export jail_jailname_attachparams" options but I'm not sure if that
>> option is the one used to specify that the image
>> should be mounted with ACLs support. Any input or pointers would be
> Quoting from the FreeBSD Handbook: "... ACLs are enabled by the mount-time administrative flag, acls, which may be added to /etc/fstab. The mount-time flag can also be automatically set in a persistent manner using tunefs(8) to modify a superblock ACLs flag in the file system header. ..."
> I think it will be sufficient to use tunefs(8) to modify the filesystem in the image.
Thanks a lot. I think that should do it for now. I wonder if there is
some sort of automated way of doing this whenever the jail is started.