Weblog entry #2 for sphaero
I could access my homedrive with:
smbclient //server/myusername -U myusername
But specifying an other user worked as well.
smbclient //server/otherusername -U myusername
I have read-only access to the users homedrive. The home directory permissions were set to 0755 so it is correct that the home directory of users is readable by others. Changing it to 0700 would give NT_ACCESS_DENIED in samba but then apache user dirs don't work. So 0711 is the final solution.
Still I thought it was weird samba would let me map an other users homedrive.
Comments on this Entry
the 5 for everyone, allows home directories to be shared, as everyone would have read access.
This does seem strange, as the homes special share should only map the user who is viewing the share, however it seems to allow you to check the home directory of any user.
You may want to add another restriction to the home's special share where the ACL expands to just the currently accessing user, using possibly the %U macro. (note i have not tried this and it may not work at all)
[ Parent | Reply to this comment ]