[H-GEN] Shared Directory?

David Powell (Moondrake) moondrake at aanet.com.au
Wed Nov 9 05:48:04 EST 2005


Hi All,

I bet this is a classic question that has some eyes rolling... 'yawn...
newbie'.

What I want to do is set up a shared directory for my Wife and I.  I've
worked out the sticky bit for directories, which works like a treat, so
new files are given owned by the shared group (family).

The problem I'm having is that new files saved to that directory aren't
writable by the group, and the only way I can find to change that
(without having to manually set permissions each time) is to change our
default umasks.  But that would change the way permissions are set for
every file we create, whether in our own directories or the shared one.
   Am I right so far?

So, is there a way to set one directory so that all new 'things' created
inside it give write permission to the group, without changing my umask
for everything?

I'm thinking that setting up a samba server on localhost might be the
way to do - I can use the create & directory mask settings to do the job.

But is there something easier (I'm not even sure samba will work on a
localhost)?

Cheers,

David




More information about the General mailing list