[Samba] ACL doesn't work

Collen Blijenberg <MLHJ> systeembeheer at hermanjordan.nl
Tue Mar 30 06:52:25 GMT 2004


hmm...

try this in your fstab:

on the line /dev/sda2.. add user_xattr behind the acl..

some like this

/dev/sda      /mountpoint   ext3       rw,acl,user_xattr        1 2

you should be able to set a acl with that setfacl and view it with
getfacl..
if these things don't work in your shell, it won't work within samba..
so it's not a samba bug..

i use acl quite fine for some while now.. so.
have fun.
---------------------------------------------
Collen Blijenberg (MLHJ)

Monday, March 29, 2004, 11:02:13 PM, you wrote:

LR> 	linux:/download # cat config | grep ACL
LR> 	  CONFIG_REISERFS_FS_POSIX_ACL=y
LR> 	  CONFIG_EXT3_FS_POSIX_ACL=y
LR> 	  CONFIG_JFS_POSIX_ACL=y
LR> 	  CONFIG_EXT2_FS_POSIX_ACL=y
LR> 	  CONFIG_XFS_POSIX_ACL=y
LR> 	  CONFIG_NFS_ACL=y
LR> 	  CONFIG_NFSD_ACL=y
LR> 	  CONFIG_FS_POSIX_ACL=y
LR> 	  CONFIG_SND_MSND_PINNACLE=m

LR> So, my kernel supports acls for ext3

LR> 	linux:/etc/samba # ldd /usr/sbin/smbd
LR>         libattr.so.1 => /lib/libattr.so.1 (0x4020c000)
LR>         libacl.so.1 => /lib/libacl.so.1 (0x40210000)

LR> So, samba supports acls

LR>       linux:/ # cat /var/log/boot.msg | grep acl
LR> 	  /dev/sda2 on /shared type ext3 (rw,acl)

LR> So, fstab is OK

LR> But,
LR> 	linux:/ # dmesg | grep acl
LR> 	linux:/ # # dmesg | grep ACL

LR> they show nothing...

LR> Well, what is wrong?


LR> ps:

LR> linux:/ # setfacl -m u:roland:r sample.txt
LR> setfacl: fajl: Operation not supported




More information about the samba mailing list