No Steve, pure linux.

I had thought that the sticky bit was my answer but all it does is
make sure the files get the right group ownership.

I have two logins for my laptop, one for when connected at work and
one for home.  However there are some files I work on in both places
so I thought they could be put in a shared folder in the home
directory.

(Though I'll store that samba info away somewhere.)


2009/7/24 steve <[email protected]>:
> 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
>

Reply via email to