[Samba] Flags for both subfolder and file NTFS permissions

Jeremy Allison jra at samba.org
Tue Oct 11 19:55:29 UTC 2016


On Tue, Oct 11, 2016 at 02:16:38PM -0300, Dante F. B. Colò via samba wrote:
> Hello folks, 
> 
> I'm trying to set NTFS permissions from command line using smbcacls , does anyone here know the flags for both subfolder and file permission inheritance ? I'm trying the following way without success, it sets inheritance for subfolder or file but never the both. 
> 
> 
> smbcacls -S "ACL:user:ALLOWED/ givenflags /FULL" //127.0.0.1/share /directory -Uadministrator%'password' 

smbcacls also takes SDDL syntax, which allows you to set the
OI (object inherit) and CI (container inherit) flags.



More information about the samba mailing list