| Graeme Walker on Tue, 5 Sep 2000 08:21:38 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: GLUG: Samba and multiple users |
Hi All Thanks for the help. the chmod g+s did the trick and create mask=0777 in smb.conf. (It seems to work with directories). FYI: The create mask = 0777 did not work until I did the chmod g+s Graeme ----- Original Message ----- From: "Andrew McGill" <andrew@xxxxxxxxxxx> To: "Graeme Walker" <svlug@xxxxxxxxxxxxxxx> Cc: <glug@xxxxxxxxxxxx> Sent: Monday, September 04, 2000 7:39 AM Subject: Re: GLUG: Samba and multiple users > On Sun, 3 Sep 2000, someone (possibly Graeme Walker) said: > > ... > > 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. > > This is generally correct (yes, there is a better solution): > chgrp wv /home/common > chmod g+s /home/common > This causes the wv group to own all files which are created in > /home/common (by default) (I don't know about directories, though). > > In the declaration for the share, add: > create mode=0777 > (or 0770 if you don't want it world anythingable). > > &:-) > > > -- > In the absence of an appropriate signature, this will have to suffice. >