Samba / ACLs / File Permissions
I'm trying to configure samba on my server but I'm having difficulty understanding the various permissions involved.
I have the following:
Note: I couldn't put that at sign in this post so I wrote atsign instead
and I have the following file permissions for that folder
path = "/var/company-data/Share"
comment = Office shared folder
browseable = No
read only = No
writeable = Yes
valid users = atsign"%D\everyone"
inherit permissions = yes
inherit acls = yes
map acl inherit = yes
Now, people can write to this folder no issues, but I assume I want to revoke access, if I remove valid users in the smb.conf people can still write to the folder.
drwxrwx---+ 19 nobody everyone 4096 Aug 25 12:38 Share
My question really, is how can I control user permissions through smb.conf and not linux file permissions?
What is the relationship between linux file permissions and smb.conf?
Where do ACL's fit into all this, do they act as linux file permissions etc?
Please help a lost fellow!