[Samba] ACL question

aux aux at gawab.com
Thu Aug 4 12:43:35 GMT 2005


hello, i have a strange problem with acl permissions. 
My samba 2.2 works perfectly but samba 3.x not.

For example, i have a share:

[prueba]
        path = /home/prueba
        comment = Directorio Plataforma
        writeable = yes
        force create mode = 770
        create mode = 770
        force directory mode = 770
        directory mode = 770
        inherit acls = yes
        inherit permissions = yes
        #papelera
        recycle:keeptree = True
        recycle:touch = True
        recycle:versions = True
        recycle:repository = .recycle
        vfs objects = recycle

and i have a directory, /home/prueba/dir
drwxrwx---+ 2 root root           144 Aug  4 13:42 prueba

# getfacl prueba

# file: prueba
# owner: root
# group: root
user::rwx
group::rwx
group:test:rwx
mask::rwx
other::---

My user john:

# id john
uid=1053(john) gid=1004(aaa) groups=1004(aaa),1012(bbb),1111(test)

This user can join to the directory 'dir' but can't create any dir or file.
why?

if i delete ACL and assign perms 770 (chmod 770 dir && chown root:test) works 
perfectly.


In my samba 2.2 works all.

I have in smb.conf the line acl compatibility = Auto and my FS support acl 
(/dev/mapper/data-home on /home type reiserfs (rw,acl,user_xattr)

anyone help me please? thanks







More information about the samba mailing list