Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2007 09:28:24 -0400
From:      Anish Mistry <amistry@am-productions.biz>
To:        "Marc G. Fournier" <scrappy@freebsd.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ACLs in a jail ... not usable?
Message-ID:  <200704180928.32391.amistry@am-productions.biz>
In-Reply-To: <1ACB3D2C20999637C4A5FB61@ganymede.hub.org>
References:  <1ACB3D2C20999637C4A5FB61@ganymede.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart3438234.2ArhhXzn74
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Wednesday 18 April 2007, Marc G. Fournier wrote:
> --On Tuesday, April 17, 2007 22:38:45 -0400 Anish Mistry
>
> <amistry@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    =20
rw,userquota,groupquota,acls            2       2


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



=2D-=20
Anish Mistry
amistry@am-productions.biz
AM Productions http://am-productions.biz/

--nextPart3438234.2ArhhXzn74
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (FreeBSD)

iD8DBQBGJh0AxqA5ziudZT0RArQLAJ41ypakmvFyis8mvNa2oQX86mQZqACdFzcb
BK2j0rF9UKtsBegJKiX9ozI=
=iPvk
-----END PGP SIGNATURE-----

--nextPart3438234.2ArhhXzn74--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704180928.32391.amistry>