I am trying to change some ACLs on some files and directories. I have samba binaries with acl support compiled in. I am using an XFS filesystem. The Mandrake kernel supports acls by default. When I right click on the file in Windows explorer and change the permissions, I get an access denied error. If I use smbcacls, I get the following: [root@luna tmp]# smbcacls //luna/tmp test.txt -U jim -A FULL Password: Failed to parse security descriptor I have tried other passwords but I get: session setup failed: NT_STATUS_LOGON_FAILURE I am using samba 2.2.7-6mdk binaries with ldap. Jim OutBound Mail Scanned by Mcafee Web Appliance.
What's more I can't do: [root@luna tmp]# setfacl -m u:root:rwx test.txt setfacl: test.txt: Operation not supported I don't even know where to begin... Mandrake 9.1 kernel, XFS... Smaba seems to be out of the picture for now since I can't even modify the ACL from Linux. Jim> -----Original Message----- > From: samba-bounces+creole3=bellsouth.net@lists.samba.org > [mailto:samba-bounces+creole3=bellsouth.net@lists.samba.org]On > Behalf Of > Jim Wharton > Sent: Tuesday, March 25, 2003 12:38 PM > To: 'Samba List' > Subject: [Samba] Using ACLs > > > I am trying to change some ACLs on some files and > directories. I have samba > binaries with acl support compiled in. I am using an XFS > filesystem. The > Mandrake kernel supports acls by default. > > When I right click on the file in Windows explorer and change the > permissions, I get an access denied error. If I use smbcacls, > I get the > following: > > [root@luna tmp]# smbcacls //luna/tmp test.txt -U jim -A FULL > Password: > Failed to parse security descriptor > > I have tried other passwords but I get: > > session setup failed: NT_STATUS_LOGON_FAILURE > > I am using samba 2.2.7-6mdk binaries with ldap. > > Jim > > > > OutBound Mail Scanned by Mcafee Web Appliance. > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >OutBound Mail Scanned by Mcafee Web Appliance.
> -----Original Message----- > From: Jim Wharton [mailto:jwharton@acpafl.org]> What's more I can't do: > > [root@luna tmp]# setfacl -m u:root:rwx test.txt > setfacl: test.txt: Operation not supported > > I don't even know where to begin... Mandrake 9.1 kernel, XFS...Is there a mount option to enable ACLs? I'm not familiar with XFS, but in recent versions of ext2/ext3 ACLs, you need to use the 'acl' option for them to work. (If that doesn't work, try 'noacl' -- I think there was briefly a bug in XFS where the sense of this flag was inverted.)
>What's more I can't do: > >[root@luna tmp]# setfacl -m u:root:rwx test.txt >setfacl: test.txt: Operation not supported > >I don't even know where to begin... Mandrake 9.1 kernel, XFS... > >Smaba seems to be out of the picture for now since I can't >even modify the >ACL from Linux.I had the same problem with a stock 2.4.20 kernel + the ext acl/xattr patches. With 2.4.19 and onwards you need to add "acl" or "user_xattr" to fstab as a parameter. (ie: /blah .....defaults,acl,user_xattr 1 1) Works fine after that...