Inherit Permissions in Samba
Hello,
I am trying to set up a file server using Samba on Redhat 8.0. Everything is working fine except inheriting group permissions. I want everything copied into the directory to default to the group assigned to the directory. I have this setup in my smb.conf file...
[Share1]
comment = Public Share
path = /home/public
browseable = yes
writable = yes
public = yes
inherit permissions = yes
directory mode = 0775
Some of the values were defaulted into the smb.conf file so I left them there. I'm not sure I need the directory mode, public, or writable attributes.
Anyway, when I copy a file or new directory into the share, the group is always the users group. For instance...
drwxrwxr-x 1 user user 1000 Oct 9 test.txt
(where user is the user name and group name)
I want it to instead automatically default to
drwxrwxr-x 1 user public 1000 Oct 9 test.txt
(where user is the user name and public is the inherited group name)
I thought the "inherit permissions = yes" attribute would set this. Any thoughts?
Thanks,
Matt
|