Bug 2397 - smbcacls -a can't add an ACL to files
Summary: smbcacls -a can't add an ACL to files
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Client Tools (show other bugs)
Version: 3.0.11
Hardware: x86 Linux
: P3 minor
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2005-02-28 10:36 UTC by TAKAHASHI Motonobu
Modified: 2009-06-17 11:15 UTC (History)
1 user (show)

See Also:


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.