Subject: Re: [vserver] set acl in a vserver / setfacl: Operation not supported
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Mon, 15 Jun 2009 23:41:52 +0200

On Sun, Jun 14, 2009 at 06:04:53PM +0200, Ekkard Gerlach wrote:
> Hi, 
> somebody here has an idea how to enable setfacl in a vserver? 

> Suse 9.2 32Bit here is a vserver under debian-etch 64Bit kernel 2.6.18
> and works fine.

this is inside a guest?

> On another machine Suse 10.2 (kernel 2.6.18) also works fine
> with debian-etch 64Bit kernel 2.6.18. 

again, inside a guest?

> But setfacl claims: 
>   pserver:/home/david/letters # setfacl --set u::rwx,g::---,o:---,m:rwx mydir/
>   setfacl: mydir: Operation not supported

> Directory "mydir" exists, acl is enabled in fstab with: [...] defaults,acl

in the guest config, or where is the 'acl' set?

>   pserver:~ # mount 
>   [...]
>   /dev/drbd3 on /home type ufs (acl)    
>   [...]

what does /proc/mounts contain?

> On a Suse 9.2 installed natively this call of setfacl works fine but not 
> in a vserver. 

on the same filesystem?
what kernel/patch exactly and what util-vserver version?

TIA,
Herbert

> Tested as root or user "david".

> any hints or experiences? 
> 
> thx
> Ekkard