Was having some problems with a public shared folder shared by samba to bunch of windows clients. The requirement was that each person had read, write and edit access to any file in the share. After a bit of monkeying around I found I had to do the following to get this to work. Add create mask = 2775 to the share section, and chmod -R 2775 shared-directory. This allows each person to edit any file on the share. This is good, is there an easier way to pull this off? The directory in question is owned by root and the group that includes all the relevant users. So is there a better way to do this? It seems to be working out fine. They wanted to mount their ACT! database on the server so that everyone could work off of it. Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. help@pdscc.com (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager)
Was having some problems with a public shared folder shared by samba to bunch of windows clients. The requirement was that each person had read, write and edit access to any file in the share. After a bit of monkeying around I found I had to do the following to get this to work. Add create mask = 2775 to the share section, and chmod -R 2775 shared-directory. This allows each person to edit any file on the share. This is good, is there an easier way to pull this off? The directory in question is owned by root and the group that includes all the relevant users. So is there a better way to do this? It seems to be working out fine. They wanted to mount their ACT! database on the server so that everyone could work off of it. Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. help@pdscc.com (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager)
Just as an append to my previous, you'll need to add create directory = 2775 if you want users to create subfolders that are accessible by all users. On 17 Nov 2000, at 10:53, Harondel J. Sibble wrote:> > Add > create mask = 2775Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. help@pdscc.com (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager)
There is a simple solution to the problem I had (setting default permissions for folders inside a share so several users from windoze machines could read and write to them): directory mode = 770 which is the same as directory mask = 770 RTFM!!!!! (section "complete list of service parameters" - guess 'this could match' and read on.... - smb.conf(5)) Take care, Dieter