Subject: Re: [netatalk-admins] Permission Settings on shared folder??
From: bsieker@techfak.uni-bielefeld.de
Date: Thu Apr 02 1998 - 13:15:20 EST
On 02.04.98, 16:40:40, Hannu Krosing wrote:
> Harry Zink wrote:
> >
> > If I wanted to set up a shared folder, in addition to the individual user
> > folders, how do I need to set the permissions on that folder?
>
> usually it is done by
>
> mkdir shared_folder
> chgrp user_group shared_folder
> chmod g+ws shared_folder
>
> then all files copied to or created in shared_folder will be owned
> by group user_group. the owner will still be the user who created them,
> but they will be accessible to others.
It is often a good idea to set the sticky bit, so that no-one can
delete other users' files.
For some folders I even use chmod 1777. So everyone can read and write
and execute, but can only delete his own files. I'm not sure if
all unix filesystems support this use of sticky bit for directories,
but Linux' ext2fs and BSD's FFS do.
>
> Cheers,
> Hannu
>
>
-- Bernd Sieker
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:32:10 EST