SAMBA - force group not working
by norcal_cyclist from LinuxQuestions.org on (#55YZM)
Hey folks - this is my first post... my Linux experience goes back to the 90's but I have been out for a long time. My current environment is:
Operating system: Ubuntu Linux 18.04.1
Webmin version1.941
Kernel and CPULinux 4.15.0-99-generic on x86_64
Samba version 4.7.6-Ubuntu
The outstanding issue is that in shares the force group setting does not have any effect. A user can open a file but when they try to save it it is read only. If I change the file owner then that user has full rights.
[shared]
force directory mode = 770
force create mode = 770
path = /shr/shared
delete readonly = yes
user = @cxxxxxd,@acct
valid users = wford,@cxxxxxd,@acct
create mode = 770
writeable = yes
directory mode = 770
force group = cxxxxxd
write list = @cxxxxxd,@acct
inherit permissions = yes
I created a new share and it acts the same - it seems as if the force group parameter has no effect. My google fu has failed me miserably.. anyone have a tree I can bark up?


Operating system: Ubuntu Linux 18.04.1
Webmin version1.941
Kernel and CPULinux 4.15.0-99-generic on x86_64
Samba version 4.7.6-Ubuntu
The outstanding issue is that in shares the force group setting does not have any effect. A user can open a file but when they try to save it it is read only. If I change the file owner then that user has full rights.
[shared]
force directory mode = 770
force create mode = 770
path = /shr/shared
delete readonly = yes
user = @cxxxxxd,@acct
valid users = wford,@cxxxxxd,@acct
create mode = 770
writeable = yes
directory mode = 770
force group = cxxxxxd
write list = @cxxxxxd,@acct
inherit permissions = yes
I created a new share and it acts the same - it seems as if the force group parameter has no effect. My google fu has failed me miserably.. anyone have a tree I can bark up?