Samba Permissions

Craig White craigwhite at azapple.com
Mon Mar 16 09:00:01 MST 2009


On Mon, 2009-03-16 at 08:48 -0700, Eric Cope wrote:
> Sorry for the late reply:
> 
> The Linux permissions include:
> 
> /ipc  group:ipc user:ipc
> 
> /ipc/ipc group:ipc user: ipc
> /ipc/cbs group: cbs user:cbs
> 
> Two companies (IPC, CBS) get each folder. IPC employees don't need
> access to cbs, but cbs needs access to ipc. I created CBS users and
> added them to the cbs group, the ipc group, and the ipc-users group. I
> chmoded everything to 770. The users didn't have access. Below are my
> samba settings
> 
> [ipc]
> path = /ipc
> read only = no
> create mask = 0775
> valid users = @ipc-users
> 
> If I chmod to 777, they have access, if they change it to 770, they
> don't, making me thing I don't have the groups properly setup. if I
> run "groups <some_user>", it shows the correct groups added. 
----
try setting the group 'sticky' bit on the folder(s)
(assuming that /ipc is owned by @ipc-users, 
chmod g+s /ipc
you may have subdirectories that will also need this bit set too.

Craig



More information about the PLUG-discuss mailing list