The Samba-Bugzilla – Bug 620
smbcacls(1): ACL type can be either ALLOWED or DENIED, not 0 or 1
Last modified: 2008-04-28 08:37:14 UTC
The smbcacls command cannot parse ACL if specified ACL type is 0 or 1.
$ smbcacls //server/share /x -U admin%foo -a 'ACL:nobody:0/0/FULL'
Failed to parse ACL ACL:nobody
But in smbcacls(1) man page says:
The type can be either 0 or 1 corresponding to ALLOWED or DENIED access ...
Created attachment 562 [details]
Proposed patch for manpage of smbcacls(1).
I checked samba-doc/trunk/manpages/smbcacls.1.xml and
Please change Status to " Resolve bug, changing resolution to FIXED".
Please ignore above Comment #2.
This is my mistake...
Hi! Are you taking holidays?
My proposed patch is wrong?
Sorry, I haven't had time to look further into this bug yet. I'll keep you
informed on the progress.
Hi, is this still an issue for you?
Both: 0/1 and ALLOWED(DENIED work for me here with 3.0.9 smbcacls and server.
Instead we should document that both possibilites are viable.
updating qa contact
reassigning doc bug to John
that documenation fix in comment #1 looks perfectly right.
# smbcacls -d 0 -U user%pass -a 'ACL:nobody:0/0/RX' //localhost/test file
ACE 'nobody:0/0/RX': missing 'ALLOWED' or 'DENIED' entry at '0'
Can someone please check the patch in? Karolin?
Added the patch (70f6966099788f4bdb0298a68d4cb0b90964dd8f) to all current Samba3-Branches. Will be in the next releases. Closing bug report.
Thank you very much for reporting!