Dante F. B. Colò
2016-Oct-11 17:16 UTC
[Samba] Flags for both subfolder and file NTFS permissions
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'
Jeremy Allison
2016-Oct-11 19:55 UTC
[Samba] Flags for both subfolder and file NTFS permissions
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.