[Samba] Homedir rights

Sandbox sandboxheh at gmail.com
Tue Oct 29 09:41:04 MDT 2013


Hai Guys,

I just figured out, I can freely browse all users home directory, actually
all users could browse all users home directory which is not good at all :)

My homedirs part of my smb.conf:

[users]
<------>comment <------><------>= Sajat mappak
<------>path <-><------><------>= /home/%D
<------>read only<-----><------>= no
<------>browseable<----><------>= no
#<----->force create mode<----->= 0660
#<----->force directory mode<-->= 0660
<------>vfs objects<---><------>= acl_xattr full_audit recycle
<------>full_audit:success<---->= connect opendir disconnect unlink mkdir
rmdir open rename
<------>full_audit:failure<---->= connect opendir disconnect unlink mkdir
rmdir open rename
<------>recycle: versions<----->= yes
<------>recycle: repository<--->= RecycleBin
<------>recycle: keeptree<----->= yes
<------>recycle: excludedir<--->= /tmp|/var/tmp
<------>recycle: directory_mode>= 0700

I changed the rights used setfacl, but it would be much nicer to do this
via the conf file.
I could not set eg: 700 right becouse some of my users have to see
eachothers directories.

Thanks, Robert


More information about the samba mailing list