[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [ezjail] ACLs under image based jail.

> From: rnodal AT gmail DOT com
> Date: Wed, 10 Feb 2010 17:07:52 -0500
> To: ezjail AT erdgeist DOT org
> Subject: Re: [ezjail] ACLs under image based jail.
> On Wed, Feb 10, 2010 at 5:02 PM, Andrew Hotlab
>  wrote:
>> ----------------------------------------
>>> From: rnodal AT gmail DOT com
>>> Date: Wed, 10 Feb 2010 16:45:37 -0500
>>> 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.
>> 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. ..."
>> http://www.freebsd.org/handbook/fs-acl.html
>> 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.

As stated in the Handbook, this is a "persistent" change on the filesystem. You don't have to do it each time the jail is started.


Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.