|
From: Kari M. <kar...@tr...> - 2006-09-07 19:04:51
|
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 //Kari Mattsson |
|
From: Heiko Z. <he...@zu...> - 2006-09-07 23:19:43
|
-----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? - -- Regards Heiko Zuerker http://www.devil-linux.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) iEYEARECAAYFAkUAqQAACgkQUcytMSbs+YW6/QCfcSQPs8KOWj7XZwyVtdpsA4sl uMgAn1JxF7Mf98aE8fCGj53V8tlcTo+0 =673O -----END PGP SIGNATURE----- |
|
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 |
|
From: Bruce S. <bw...@ar...> - 2006-09-08 11:37:06
|
>> 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]. > I'm not sure you need to mount XFS with the acl option for ACL's to work. Mount the XFS volume with just 'defaults' and try to create an ACL. - BS |
|
From: Kari M. <kar...@tr...> - 2006-09-08 19:11:27
|
Bruce Smith wrote: >>> 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]. >> > > I'm not sure you need to mount XFS with the acl option for ACL's to work. > > Mount the XFS volume with just 'defaults' and try to create an ACL. Good try ;-) ...however, setfacl consistently (ext2/ext3/reiserfs/xfs) responded: # setfacl -m user:jdoe:r file1 setfacl: file1: Operation not supported > - BS //Kari Mattsson |
|
From: Heiko Z. <he...@zu...> - 2006-09-09 16:23:09
|
On Fri, September 8, 2006 14:11, Kari Mattsson wrote: > Bruce Smith wrote: > >>>> 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]. >>> >>> >> >> I'm not sure you need to mount XFS with the acl option for ACL's to >> work. >> >> Mount the XFS volume with just 'defaults' and try to create an ACL. >> > > Good try ;-) ...however, setfacl consistently (ext2/ext3/reiserfs/xfs) > responded: > > > # setfacl -m user:jdoe:r file1 > setfacl: file1: Operation not supported OK from what I could find out, it seems we still need to apply the separate AE+ACL patches to the kernel. http://acl.bestbits.at/ Those patches are quite old, no idea if they will even apply to Kernel 2.4.33.x ... There also seems that the XFS AE+ACL stuff never made it in the mainstream Kernel and it has to be extracted from the XFS CVS repository... I doubt I'll have time this weekend to look at it any more. -- Regards Heiko Zuerker http://www.devil-linux.org |