I have four boxes. - Debian/testing on XFS - Debian/unstable on ext3 - Gentoo/stable on XFS - Redhat 9.0 with samba 3.0.7 on ext3 I access to this box from - Windows 2000 SP4 (ja) - Windows XP Pro SP 2 (en) - Windows XP Pro SP 1 (en) I can set the read-only flag only on the samba boxes with ext3, I can't do that when the samba runs on an xfs box. then I get an "Access denied" error. But, when I set the file to u-w, then windows sees it (on all boxes), but again, only the samba on ext3 can change the attribut back again. I have no set dos attributes turned on, or ea attributes, etc. xfs is mounted with quota and so is ext3.
this would have to be an xfs bug. we don't distinguish between file systems.
It works on XFS with map archive = no map system = no map hidden = no store dos attributes = yes # setfattr -n user.DOSATTRIB -v "0x20" test # getfattr -d -e hex test file: test user.DOSATTRIB=0x20 # ls -l test -rw-rw-r-- 1 root group 0 2006-05-10 18:00 test # smbclient //FILESERVER/test -U test%test > ls test 0 Wed May 10 18:00:30 2006 > setmode test +a > ls test A 0 Wed May 10 18:00:30 2006
With "0x20", the ARCHIVE attribut is at ON by default. With "0x307830", the ARCHIVE attribut is at OFF by default.