[Vserver] ACL on guest

From: Jean-Michel Caricand <jean-michel.caricand_at_laposte.net>
Date: Fri 02 Feb 2007 - 12:58:27 GMT
Message-Id: <JCU6PF$9DEF84C1DA5B14FD84CA5D7842608CEC@laposte.net>

Hi,

I want to know if it's possible to have acl on a guest. Show
my configuration :

lifcsys3:~# cat /etc/mtab
/dev/hda3 / ext3 rw,errors=remount-ro 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs rw 0 0
/dev/hda2 /boot ext3 rw 0 0
/dev/mapper/host-usr /usr ext3 rw 0 0
/dev/mapper/host-var /var ext3 rw 0 0
/dev/mapper/host-lifc--svnlmd /var/lib/vservers/lifc-svnlmd
ext3 rw,acl 0 0
/dev/mapper/host-lifc--webmail /var/lib/vservers/lifc-webmail
ext3 rw 0 0
/dev/mapper/host-lifc--glpi /var/lib/vservers/lifc-glpi ext3
rw 0 0
/dev/mapper/host-lifc--darkvador
/var/lib/vservers/lifc-darkvador ext3 rw 0 0
/mnt/wesson-home /var/lib/vservers/lifc-svnlmd/home none
rw,bind 0 0
usbfs /proc/bus/usb usbfs rw 0 0
172.20.128.107:/home /mnt/wesson-home nfs
rw,addr=172.20.128.107 0 0
lifcsys3:~#

The line works fine :
# setfacl -m u:smmsp:rwx /var/lib/vservers/lifc-svnlmd/tmp/toto
# lifcsys3:~# getfacl /var/lib/vservers/lifc-svnlmd/tmp/toto
getfacl: Removing leading '/' from absolute path names
# file: var/lib/vservers/lifc-svnlmd/tmp/toto
# owner: root
# group: root
user::rw-
user:root:rwx
user:smmsp:rwx
group::r--
mask::rwx
other::r--

lifcsys3:~#

When I test setfacl on my guest :

lifc-svnlmd:/tmp# setfacl -m u:root:rwx /tmp/toto
setfacl: /tmp/toto: Opération non supportée
lifc-svnlmd:/tmp#

Strange. acl is supported on my guest. When I show the content
of /etc/mtab, I see :

lifc-svnlmd:/tmp# cat /etc/mtab
/dev/hdv1 / ufs defaults 0 0
none /proc proc 0 0
none /tmp tmpfs size=16m,mode=1777 0 0
none /dev/pts devpts gid=5,mode=620 0 0
lifc-svnlmd:/tmp#

Why this behavior ? Is it normal ?

Thank.

Jean-Michel Caricand
mail : jean-michel.caricand@laposte.net
  Envoyez vos cartes de voeux depuis www.laposte.net
Elles seront ensuite distribuées par le facteur : pratique et malin !

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Fri Feb 2 14:03:14 2007

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 02 Feb 2007 - 14:03:19 GMT by hypermail 2.1.8