Robert Hajime Lanning on Sun, 3 Sep 2000 19:25:09 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [svlug] Samba and multiple users


You will need to look into the "force *" options for shares.
I believe there is a "force perm" or some like.  And I would set
it to 660 and put everyone that needs access to the directory into the
"wv" group.

Usualy I like to give the share directory 3770 perms.
The directory would be SGID so all files created in it would be the same
group as the parent directory.  The sticky bit on the directory is so
deleting and renaming of files can only be done if the user has write
access to the file itself instead of being managed by the perms of the
parent directory.

---- As written by Graeme Walker:
> Hi
> 
> I have created a common share on a Linux Samba (2.0.6), this is for all 
> users to access and have read/write access. I gave the directory chmod 
> 777 and set the group to wv. All the users belong to the wv group. 
> However when a user creates a new file or directory (folder), only they 
> can write to it!
> 
> I overcome this by manually doing a chmod 777 /home/common -R and chgrp 
> wv /home/common -R
> Now I can do this with a cron job to run evey minute or two. But I 
> believe there is a better solution.
> 
> ideas please
> 
> Graeme

-- 
/* Robert Hajime Lanning                             lanning@xxxxxxxxxx
** Trade: Unix Systems Administrator (Senior level)
*/
#include <std_disclaimer.h>