You talking about samba shares Kerry?

[projects]
        comment = projects
        force group = users 
        path = /home/projects
        read only = no
        browseable = yes
        writeable = yes
        force create mode = 0660
        force directory mode = 0770
        guest ok = yes

Is a definition I use to ensure everyone cn access stuff. All files are
put into the group users, and they are created read/write for user and
group. Guaranteed (:

hth,

Steve


On Fri, 2009-07-24 at 13:06 +1200, Kerry Mayes wrote:
> This is probably trivially obvious to you guys but I can't figure it
> out.  I created a shared folder (/home/shared) that is owned by a
> group (shared).  There are two members of this group.
> 
> However, the default permissions when either saves a file is 644 -
> meaning the other can read the file but not write to it.
> 
> Ideally I'd prefer the default to be 660 (though I'm not actually
> worried about the everybody bit).
> 
> What is the usual way of setting this up?
> 
> (The only thing I got with google was to have a cron job that
> regularly overwrote the permissions of all the files in the
> directory.)
-- 
Steve Holdoway <[email protected]>
http://www.greengecko.co.nz
MSN: [email protected]
GPG Fingerprint = B337 828D 03E1 4F11 CB90  853C C8AB AF04 EF68 52E0

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to