Subject: Re: Forcing group permission
From: Chip Mefford (cmefford@avwashington.com)
Date: Wed Sep 13 2000 - 13:31:54 EDT
I'm kinda tired and punch so this might not
make sense.
In the mac world, the files and subdirs inherit the
perms of the parent. So,
Make sure the parent dir or share is set the way
you want and rwx-able to a group id that also
contains all the affected users, and you should
be fine.
On Wed, 13 Sep 2000, Danny Sauer wrote:
> Rather than worrying about netatalk, just make the directory setgid. Then
> new files/directories will inherit the parent's group.
> "chmod 2770 /path/to/dir", for example... "man chmod" for another. :) As
> far as setting the create-mode for files to allow group write, I dunno.
> I guess there'd have to be a way to run in a umask-modified environment.
> Or set up a cron script to run every few minutes executing a
> "chmod -R g=u /path/to/dir", or something ugly like that... :(
>
> --Danny
>
> On Wed, Sep 13, 2000 at 09:18:21AM -0700, Steve Cullingworth wrote:
> > I'm running a netatalk-1.4b2+asun2.1.3-6 rpm on Redhat 6.1 and would like to
> > force users who connect to a public share to write files as a certain group.
> > There is command in Samba that forces the user and group. Is there a
> > similar option with Netatalk? As far as I can tell, netatalk by default
> > writes files with the user as the owner and the user's primary group as the
> > group. Isn't there supposed to be new FAQ (existing or being written) that
> > covers exactly these topics? If so, it's tough to find.
> >
> > ANY help or ideas would be very much appreciated.
>
This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:32:10 EST