hi

If i create a new file x.txt, samba sets the permission of the group users to rwx. "inherit acls" is set to yes. Why samba sets the permission to rwx instead of rw (the default permission of the parent) ?

New file:
getfacl --tabular x.txt
# file: x.txt
USER   xxxxx  rw-
GROUP  users      rwx
group  leiters    rwx
mask              rwx
other             ---


Parent directory:

getfacl --tabular .
# file: .
USER   admin     rwx  rwx
GROUP  users     r-x  r-x
group  leiters   rwx  rwx
mask             rwx  rwx
other            ---  ---


thanx for your help!





[global]
    unix charset = utf8
    display charset = utf8
    workgroup = XX
    realm = XX.NET
    password server = kdc
    passdb backend = ldapsam:ldap://ldap/
    kerberos method = system keytab
    max protocol = SMB2
    time server = Yes
    printcap cache time = 60
    printcap name = cups
    domain logons = Yes
    os level = 128
    wins server = yes
    ldap admin dn = cn=admin,dc=xx,dc=net
    ldap suffix = cn=accounts,dc=xx,dc=net
    ldap ssl = no
    recycle: exclude = *.tmp|*.temp|*.o|*.obj|~$*|*.lnk
    recycle: touch = yes
    recycle: versions = yes
    recycle: keeptree = yes
    recycle: repository = .recycle/%U
    ldapsam:editposix = yes
    ldapsam:trusted = yes
    idmap config * : backend = tdb
    read only = No
    acl group control = Yes
    create mask = 0660
    directory mask = 0770
    inherit acls = Yes
    guest ok = Yes
    case sensitive = No
    vfs objects = recycle


[fileserver]
    path = /fileserver

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to