Hello All!
Can't make Samba use acl and extended user attributes to save DOS file
attributes.
Please, help me configure properly.
My steps on Windows XP:
1 - Open share
2 - Open property of file 1122/22.bmp
3 - Check file attribute: hidden
4 - Click Apply
5 - Click Close
6 - Open property again
7 - Attribute Hidden not checked.
Samba dont save attributes!!!
getfattr -d /mnt/public/1122/22.bmp
Show no any attributes for 22.bmp file
*Environment*
Server configuration:
OS: Ubuntu 10.04.3 LTS 2.6.32-36-generic
Samba: 3.6.1
Share: /mnt/public
Mount: /dev/sda3 on /mnt/public type ext3 (rw,acl,user_xattr)
Unix file permissions:
ls -la /mnt/public/
total 18
drwxrwxrwx 2 nobody nogroup 1024 2011-12-09 14:45 1122
drwx------ 2 root root 12288 2011-12-09 14:43 lost+found
ls -la /mnt/public/1122
total 218
-rwxrwxrwx 1 nobody nogroup 220074 2011-12-09 14:45 22.bmp
Samba config:
[global]
workgroup = HOME
security = share
max log size = 1024
store dos attributes = yes
map archive = no
map read only = no
map hidden = no
map system = no
create mode = 777
directory mode = 777
[homes]
browseable = no
printable = no
store dos attributes = yes
[public]
path = /mnt/public
comment = ""
read only = no
guest ok = yes
follow symlinks = no
store dos attributes = yes
writable = yes
map archive = no
map read only = no
map hidden = no
map system = no
create mode = 777
directory mode = 777
Samba configure params: --prefix=/usr/local/samba
...
checking whether to support ACLs... auto
configure: checking whether ACL support is available:
checking for acl_get_file in -lacl... yes
checking for getxattr in -lattr... yes
checking for POSIX ACL support... yes
configure: Using posix ACLs
checking for acl_get_perm_np... no
...