samba share write denied to group
I have samba set up to share home directories as follows:
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
I need to have multiple users share the same home directory. The directory permissions are:
drwxrwsr-x 2 chapan mayor 80 Nov 7 11:18 test
If I map the share from windows as chapan, I can write to the directory. If I map the share from another user who has the same directory as its home directory,
and is a member of group 'mayor', I cannot write to the directory, I get an 'access is denied message'. However, if I ftp or telnet to the server, I can write to the directory if I am a member of 'mayor'. I need to be able to have multiple users have read/write access to the share.
Unless the users' default group is mayor you will need to switch the user to group mayor by adding the line:
force group = mayor
to the [homes] section. This should allow those users that are actually in group mayor to access home directories of the group. Other users should not be impacted since they cannot switch to a group to which they don't belong.
|All times are GMT -5. The time now is 12:41 AM.|