Quote:
Originally Posted by siddysid
I tried creating a shared directory. I created the group project. Added several users to the group. Changed the permissions on the directory with chmod 770 /home/project. Then I set the SGID wit chmod g+s /home/project. I tried logging in as one of the users and they get permission denied. What am I doing wrong? Help please. Thanks in advance.
|
Hi,
Instead of using sgid for the above action, you should use force group = project in smb.conf. Pls see below for an example:
[project]
comment = Project shared folder
path = /home/project
read only = yes
write list = @project
create mask = 0660
directory mask = 0770
force group = project
Hope this help!