It looks like the documentation is slightly off. If you use a number for the type field (after last colon) you need to use a number for the permissions field. If you want to use RWX for the permissions try ALLOWED or DENIED for the type
#smbcacls //localhost/public te1st.txt -A ACL:frankie:ALLOWED/0/RWX -U javi Francesc Guasch Ortiz wrote: > > I'm trying to set up a Samba server with ACLS. > Versions: > - xfs in kernel-2.4.20. > - samba-2.2.7a compiled with ACL support > > I'm trying first with smbcacls. But I can't manage to > guess the syntax of the ACL command. > > I want the user "frankie" could RWX a file owned by "javi" > > #smbcacls //localhost/public te1st.txt -A ACL:frankie:0/0/RWX -U javi > > Failed to parse ACL ACL:frankie > > I read carefully the smbcacls man page and searched for > examples in the archives and the web unsuccessfully. > > I tried many different things in the SID field with the same results: > > DOPAN//frankie ( DOPAN is the DOMAIN ) > DOPAN/frankie > DOPAN\\frankie > DOPAN\\\\frankie > \\\\DOPAN\\frankie > > and so on ... with the same results. > > Anyway I tried to connect to the share from a W2000. > I can add security options to the file, but won't work. > I tried to set a file read only but I can remove it. > > Any hint or link would be appreciated. > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba -- ====================================================================== Herb Lewis Silicon Graphics Networking Engineer 1600 Amphitheatre Pkwy MS-510 Strategic Software Organization Mountain View, CA 94043-1351 [EMAIL PROTECTED] Tel: 650-933-2177 http://www.sgi.com Fax: 650-932-2177 PGP Key: 0x8408D65D ====================================================================== -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
