[Samba] home directory permissions
lists.gl at guido-leisker.de
Wed Nov 30 16:19:52 GMT 2005
Bruno RICHARD wrote:
> Hi all,
> I use samba-3.0.20b on a solaris 10 box with a ldap backend.
> All works fine except one thing:
> I have an account "bob".
> Its home directory is "/tmp/teachers/bob"
> Its group is "teachers".
> However when I define the teachers repository permissions like this:
> [zoe.root:367] ls -al /tmp
> drwxrwx--- 2 root teachers 177 Nov 15 13:22 teachers
> (access in rwx only for root and "teachers" group members)
> It doesn't work anymore (i.e. smbclient fails).
> For security reasons I have to define such permissions.
> Does anyone have a tip or a clue ?
> Thanks in advance.
> for information:
> smb daemons run as root
> and permissions on the bob's repository are:
> [zoe.root:368] ls -al /tmp/teachers
> drwxr-xr-x 2 bob teachers 178 Nov 30 15:38 bob
I had a simalar problem.
Do you use selinux?
# man samba_selinux
# setsebool -P samba_enable_home_dirs 1
solved my problems
More information about the samba