Re: ACLs in a jail ... not usable?

2007-04-18 Thread Anish Mistry
On Wednesday 18 April 2007, Marc G. Fournier wrote:
> --On Tuesday, April 17, 2007 22:38:45 -0400 Anish Mistry
>
> <[EMAIL PROTECTED]> 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,acls2   2


>
> Thanks ...
>
>
>
> 
> Marc G. Fournier   Hub.Org Networking Services
> (http://www.hub.org) Email . [EMAIL PROTECTED]   
>   MSN . [EMAIL PROTECTED] Yahoo . yscrappy   Skype:
> hub.orgICQ . 7615664



-- 
Anish Mistry
[EMAIL PROTECTED]
AM Productions http://am-productions.biz/


pgpFtX7C81olg.pgp
Description: PGP signature


Re: ACLs in a jail ... not usable?

2007-04-17 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Tuesday, April 17, 2007 22:38:45 -0400 Anish Mistry 
<[EMAIL PROTECTED]> 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?

Thanks ...



- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFGJaHA4QvfyHIvDvMRAu+3AJ9cy4CQKy6rh1vdViipRrbE7FrqngCgxr5L
A/HVQRUeu7JnvOihVLck96c=
=2LO8
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ACLs in a jail ... not usable?

2007-04-17 Thread Anish Mistry
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?



-- 
Anish Mistry
[EMAIL PROTECTED]
AM Productions http://am-productions.biz/


pgpRuWOK2AWQ6.pgp
Description: PGP signature


ACLs in a jail ... not usable?

2007-04-17 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


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

Thanks ...

- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFGJX4P4QvfyHIvDvMRAmzJAJsFVYyl33FbkZem/EBiCfrmBt4l0gCg3zot
XVf5NIZRg/x8X8izRSda52o=
=Zn8O
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"