[plug] ext3 attr support

Tony Breeds magni at plug.linux.org.au
Fri Feb 27 08:17:04 WST 2004


On Wed, Feb 25, 2004 at 01:48:26PM +0800, Ryan wrote:
> Howdy,
> 
> I finally got a few seconds to try acl and attr support with a view to
> seeing what Samba thinks of it all.  I patched a 2.4.24 kernel with
> stuff from here: http://acl.bestbits.at/
> 
> It isn't all working exactly how I expected just yet so I'm hoping this
> is due to the following problem, and not my gross misunderstanding of
> the subject matter :)
> 
> As per Tony's (thank you) instructions, I turned all the options on and
> recompiled:
> 
> CONFIG_EXT3_FS=y
> CONFIG_EXT3_FS_XATTR=y
> CONFIG_EXT3_FS_XATTR_SHARING=y
> CONFIG_EXT3_FS_XATTR_USER=y
> CONFIG_EXT3_FS_XATTR_TRUSTED=y
> CONFIG_EXT3_FS_SECURITY=y
> CONFIG_EXT3_FS_POSIX_ACL=y
> 
> Then I installed acl and attr.
> 
> Edited /etc/fstab and added acl,attr  and then I am told:
> 
> 	EXT3-fs: Unrecognised mount option attr

Umm I think the option is "user_xattr"?
 
> The acl options work and I've been sort-of-happily playing with the acl
> tools.  Got problems with Linux obeying the ACLs, but I can set/view
> them fine and Samba sort of plays ball with them - it can see and set
> user based acl permissions and see (not set) group acl permissions.

Remember only the "owner" of the file can change the acls'  (well root
can too but ...)
There is a bug in samba that I never tracked down where it doesn't map
the acls correctly for directories.  They work BUT they don't display
correctly in the "security" tab.


Yours Tony

        Linux.Conf.AU       http://lca2005.linux.org.au/
        Apr 18-23 2005      The Australian Linux Technical Conference!



More information about the plug mailing list