| Andrew McGill on Mon, 4 Sep 2000 09:01:51 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| 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.