[Samba] move or copy a directory (and her files) and ACL

Stéphane PURNELLE stephane.purnelle at corman.be
Wed Sep 17 07:57:32 GMT 2008


Hi samba users and developper,

If a user copy or move a directory from a place to an other place, the ACL 
will be also applied as same as the original place. 
why the ACL is copied and not the directory take default ACL from the 
newer parent's directory.

I explain : 

older place : 
/rsrv/vol2/data1/groupes/crdcom/cld
        acl : 
                crdcom  rwx

newer place : 
/rsrv/vol2/data1/groupes/bufromage/cld
        acl : 
                crdcom  rwx

must be bufrm and not crdcom

is normal or not.
Could anyone explain this features.

samba 3.2.2
Redhat Enterprise linux 5 with XFS.

share definition : 

[groupes]
        comment = GROUPES
        path = /rsrv/vol2/data1/groupes 
        read only = No
        inherit permissions = Yes
        inherit acls = Yes
        hide unreadable = Yes 

        security mask = 0770
        directory security mask = 0770

        force security mode = 0770
        force directory security mode = 0770

thanks

        Stéphane Purnelle

-----------------------------------
Stéphane PURNELLE                         stephane.purnelle at corman.be
Service Informatique       Corman S.A.           Tel : 00 32 087/342467


More information about the samba mailing list