On Tue, Apr 04, 2006 at 08:44:57AM +0200, January Weiner wrote:
> > usually the 'guest' filesystem is already mounted
> > on the host, so if you have it mounted with acl,
> > the acls will be used inside and outside the guest
>
> Ummm, OK. Below you will find how it looks like on my system. But
> as a general question: how/where can I specify the mount options for
> the root filesystem of the vserver?
>
> ebbalanin:~# mount | grep acl
> /dev/hda1 on / type reiserfs (rw,acl,notail)
> ebbalanin:~# cat /etc/vservers/svnserver1/apps/init/mtab | grep acl
> /dev/hdv1 / ufs rw,acl 0 0
> ebbalanin:~# touch test ; setfacl -m u:root:rwx /tmp/test
> ebbalanin:~# vserver svnserver1 enter
> svnserver1:/# su -
> svnserver1:~# mount | grep acl
> /dev/hdv1 on / type ufs (rw,acl)
> svnserver1:~# touch /tmp/test ; setfacl -m u:root:rwx /tmp/test
> setfacl: /tmp/test: Operation not supported
>
But this works for me - setfacl and getfacl on /tmp/test inside
vserver is working, when the filsystem containing the vservers
is mounted with option "acl".
I'm using
kernel 2.6.15 + vserver patch-2.6.15-2.0.2rc13+
and my vservers reside on an ext3 filesystem.
Two suggestions:
* /tmp is probably mounted as tmpfs inside vserver - try another
directory for your acl tests
* try ext3 instead of reiserfs
Greetings,
Gerald
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Apr 4 10:36:00 2006