From ad0e01e75059bedde6400529f1a5193ef9735e9b Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 25 Oct 2002 15:15:32 +0000 Subject: sync from HEAD (This used to be commit 2eb7f0acd761a11bb0f24010347247074c5ed49a) --- docs/htmldocs/smbcacls.1.html | 102 +++++++++++++++++++++++++++--------------- 1 file changed, 65 insertions(+), 37 deletions(-) (limited to 'docs/htmldocs/smbcacls.1.html') diff --git a/docs/htmldocs/smbcacls.1.html b/docs/htmldocs/smbcacls.1.html index 637720fa6b..e0425d481d 100644 --- a/docs/htmldocs/smbcacls.1.html +++ b/docs/htmldocs/smbcacls.1.html @@ -1,10 +1,11 @@ + smbcacls

smbcacls

smbcacls
The smbcacls program manipulates NT Access Control Lists - (ACLs) on SMB file shares.

program manipulates NT Access Control + Lists (ACLs) on SMB file shares.

This command sets the ACLs on the file with only the ones specified on the command line. All other ACLs are - erased. Note that the ACL specified must contain at least a revision, + erased. Note that the ACL specified must contain at least a revision, type, owner and group for the call to succeed.

The format of an ACL is one or more ACL entries separated by either commas or newlines. An ACL entry is one of the following:

 
-REVISION:<revision number>
-OWNER:<sid or name>
-GROUP:<sid or name>
-ACL:<sid or name>:<type>/<flags>/<mask>
+REVISION:<revision number>
+OWNER:<sid or name>
+GROUP:<sid or name>
+ACL:<sid or name>:<type>/<flags>/<mask>
 	

The revision of the ACL specifies the internal Windows @@ -262,38 +254,62 @@ ACL:<sid or name>:<type>/<flags>/<mask> >

  • RR - Allow read access

  • WW - Allow write access

  • XX - Execute permission on the object

  • DD - Delete the object

  • PP - Change permissions

  • OO - Take ownership

  • READREAD - Equivalent to 'RX' permissions

  • CHANGECHANGE - Equivalent to 'RXWD' permissions

  • FULLFULL - Equivalent to 'RWXDPO' permissions