Running Samba on Ubuntu Server. I have a share that is accessible to anyone on the network. The shared directory is set to 775.
I want Windows users that are joined to a particular workgroup to get group permissions, in this case 7, while everyone else get's global permissions, in this case 5.
Is this possible?
Edit (More details)
[Global] security = share netbios name = Gandalf workgroup = FELLOWSHIP [Shared] guest ok = yes read only = no browseable = yes writeable = yes public = yes
The actual linux directory is set to 775 anyone who connects gets unix global permissions (5). If I change it to 777, anyone who connects has write privileges. I only want users joined to a certain workgroup to have write privileges.
so to simplify, if the directory is set to 775, users on the FELLOWSHIP workgroup should get the unix group permissions (7), users on another workgroup should get unix gloabl permissions (5).
No one should need to log in ever.