[Samba] Samba + acl,user_xattr

Dmitry Mordovin d.mordovin at dwide.com
Thu Dec 15 01:17:21 MST 2011


>> Added to global section
>>
>> vfs objects = acl_xattr
>>
>>
>> No changes. Still dont store DOS attr.
> You only need acl_xattr is you want to store Windows ACLs, not DOS attrs.
>
> Have you tried using setfattr on that filesystem ? Does it work ?
>
> Jeremy.

Hello Jeremy!

You are right!

I don't want to store Windows ACLs, need only DOS attrs (hidden file attr).

What Is enough to add to my smb.conf?
'store dos attributes (S)  or 'map hidden (S)' or together or else?

#cat /opt/samba/smb.conf
[global]
pid directory = /opt/samba/run
lock directory = /opt/samba/cache
private dir = /opt/samba/cache
log file = /opt/samba/smbd.log
log level = 10
workgroup = TEST
security = share
show add printer wizard = no
max log size = 10240
bind interfaces only = true
interfaces = eth1

[homes]
browseable = no
printable = no

[public]
path = /mnt/public
comment = ""
read only = no
guest ok = yes
follow symlinks = no
writable = yes



More information about the samba mailing list