ACLs in a jail ... not usable?

Anish Mistry amistry at am-productions.biz
Wed Apr 18 13:25:54 UTC 2007


On Wednesday 18 April 2007, Marc G. Fournier wrote:
> --On Tuesday, April 17, 2007 22:38:45 -0400 Anish Mistry
>
> <amistry at am-productions.biz> wrote:
> > On Tuesday 17 April 2007, Marc G. Fournier wrote:
> >> Just want to make sure there isn't something I'm missing, but it
> >> apears ACLs aren't settable from within a jail?
> >>
> >> # setfacl -m g:mail:rwx Login.1
> >> setfacl: acl_get_file() failed: Operation not supported
> >
> > ACLs work fine in jails.  Are you sure you enabled ACLs on the
> > filesystem?
>
> Great, knew it couldn't be *that* easy :(
>
> At what point do I have to enable them?  I figured 'if getfacl
> worked, setfacl would too':
>
> # getfacl cvsupd.core
> #file:cvsupd.core
> #owner:0
> #group:0
> user::rw-
> group::---
> other::---
>
> Apparently not ... ?
>
> A quick look at tunefs, I see the -a option ... I take it -a enable
> is all I have to do to the file system to enable ACLs?
Yes, or you could also add the acls options to your fstab. eg.
/dev/mirror/gm0s1h              /usr/jail/hosting               ufs     
rw,userquota,groupquota,acls            2       2


>
> Thanks ...
>
>
>
> ----
> Marc G. Fournier           Hub.Org Networking Services
> (http://www.hub.org) Email . scrappy at hub.org                       
>       MSN . scrappy at hub.org Yahoo . yscrappy               Skype:
> hub.org        ICQ . 7615664



-- 
Anish Mistry
amistry at am-productions.biz
AM Productions http://am-productions.biz/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070418/6f27fb07/attachment.pgp


More information about the freebsd-questions mailing list