Bug 2397 - smbcacls -a can't add an ACL to files
smbcacls -a can't add an ACL to files
Status: RESOLVED WORKSFORME
Product: Samba 3.0
Classification: Unclassified
Component: Client Tools
3.0.11
x86 Linux
: P3 minor
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-02-28 10:36 UTC by TAKAHASHI Motonobu
Modified: 2009-06-17 11:15 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description TAKAHASHI Motonobu 2005-02-28 10:36:23 UTC
For example, 
/usr/local/samba-3.0.11/bin/smbcacls //w2ksrv/temp sample_file -
a 'ACL:DOMAIN\test1:ALLOWED/3/READ' -U Administrator%password

can't add an ACL to a file on Win2k share. (a file on WinNT share is OK)

The syntax of "ACL:..." is a sample.

/usr/local/samba-3.0.10/bin/smbcacls //w2ksrv/temp sample_file -
a 'ACL:DOMAIN\test1:ALLOWED/3/READ' -U Administrator%password

can add an ACL to a file on Win2k share but if I show the file's security tab 
on Windows, 
"invalid order of ACL" message(*1) is always displayed.

*1: Sorry, I checked Japanese version of Windows, so I do not know the exact 
message in English.
Comment 1 TAKAHASHI Motonobu 2009-06-17 11:15:11 UTC
On Samba 3.3.4, this works well.