|
From: Kari M. <kar...@tr...> - 2006-09-08 04:01:19
|
Heiko Zuerker wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On Thu, September 7, 2006 14:04, Kari Mattsson wrote: > >> Hi all fellow DL'ers! >> >> >> Apparently (please see the link below) for ACL and extended attributes >> (EAs) to work with Samba, those components also have to be in the kernel. >> >> >> Before spending too much time trying/testing, I go the shortest path and >> ask :-) ... Is ACL and EA functionality in the Linux kernel in DL? >> >> If not, could it be added? The ACL userland tools are there already. >> It would indicate the answer would be yes... >> >> >> I did a quick test of creating/formatting ext2, ext3 and reiserfs >> partitions. When having options 'defaults,acl' in /etc/fstab resulted with >> error '.. bad option ..' when entering command 'mount -av' to mount the 3 >> partitions. Leaving ',acl' away resulted clean mounts, but obviously >> there is no ACL then. >> >> I didn't even try fstab option 'user_xattr'. >> >> >> The link: >> http://marc.theaimsgroup.com/?l=samba&m=111720880005278&w=2 > > I took a quick look at our kernel config and there are no ACL or EA > options available for ext2 or reiserfs. These are probably separate > patches. > BUT we have XFS included, which has support for this. Good enough? Mmm.. I reformatted the reiserfs on the test system to xfs. Nope, it didn't quite do it. With options 'defaults,acl' mount still gives arror mount: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or other error In some cases useful info is found in syslog ...and in syslog: ..... kernel: XFS: unknown mount option [acl]. And for the record, when trying with ext2/ext3/reiserfs, the syslog also complains: ..... kernel: reiserfs_getopt: unknown option "acl". ..... kernel: EXT2-fs: Unrecognized mount option acl ..... kernel: EXT3-fs: Unrecognized mount option acl I hope this helps a bit more. > - -- > > Regards > Heiko Zuerker > http://www.devil-linux.org //Kari Mattsson |