This is how I do it in my old setup. [data1] comment = data1 share path = /data1 writable = yes browseable = yes write list = @users force group = users force create mode = 0775 force directory mode = 0775 create mask = 0775 directory mask = 0775
The /data1 is owned by root:users, and people who can write to it, as in the unix group "users" and when they create files it defaults to being owned by root:group with 775 bits. Hope this helps. Thanks On Wed, May 23, 2012 at 9:59 AM, K L <[email protected]> wrote: > Been a while since I read the samba docs, but both of those should work. > As an aside, are you setting your create masks, etc with 3 or 4 digit > notation? > > create mask = 0664 > > > > ----- Original Message ----- > > From: "Chris Allen" <[email protected]> > To: [email protected] > Sent: Sunday, 6 May, 2012 6:55:38 PM > Subject: [SLUG] Samba question > > At work I (and others) log on to a Unix system from a M$ desktop via Samba. > Every file I we create via this connection has has the access rights of > 744. > We would prefer this be to be 664 > > I have tried this with create mask and force create mode but it does not > work. > Can any one suggest a solution. > > PS. Is there a reference book the explains Samba in simple and plain > language? > Every time I read literature on Samba, it is always written in complex > dialect compubabale that only alpha geeks can understand. > That approach does not help persuade the general public to take up Samba > > Chris Allen > -- > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html > -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
