Jochen Korge || PCSM GmbH
2023-Aug-30 09:30 UTC
[Samba] smbcacls and inheritance does not work as expected
Hi, I can not get the inheritance the way I want. My goal is, (1) to create a new Set of ACLs at directory "HERE" and (2) "set" the Windows checkbox "Replace all child object permission entries with inheritable permission entries from this object" My command looks like: smbcacls //mynas/share1 some/path/HERE -SACL:rw_group:ALLOWED/CI|OI/CHANGE,ACL:ro_group:ALLOWED/CI|OI/READ --propagate-inheritance -I allow #omitted credentialstuff part (1) does work - all inherited permissions from "share1", "some" and "path" are dropped on directory "HERE" and replaced by the two groups. part (2) does partly work, it keeps old permissions and adds the inheritable permissions from "HERE". How do I drop any "not inherited" permissions on those child objects? Client and Server run Version 4.17.10-Debian Thanks for your help. Cheers Jochen Mit freundlichen Gr??en / best regards, Jochen?Korge Mobil? ? ? ? ?+49 711 286952 63 Helpdesk???+49 176 57659933 PCSM GmbH?| Crailsheimerstrasse 15?| 70435?Stuttgart Gesch?ftsf?hrer: Thomas Martin | Sitz der Gesellschaft: Stuttgart Amtsgericht Stuttgart HRB-Nr.: 733394 | USt.-Idnr.: DE815181359