Re: umode/mask for newly created files...


Subject: Re: umode/mask for newly created files...
From: Lancaster, David Matthew (c4ng2@unb.ca)
Date: Fri May 19 2000 - 07:42:26 EDT


> >I need netatalk to create files with mask 660 and directories with 770, so
> >that every member of the group can access every file and directory. How can
> >I achieve that? In samba you can set a "force user mode" option, but there
> >is none in netatalk. I'm happy with every piece of information. (I use
> >netatalk on Linux 2.2.14)
>
> Set the umask in /etc/profile accordingly (to 002 in your case).

AFAIK, /etc/profile would only be effective if you're running bash (not
everyone does) and is normally only executed when bash starts up as an
interactive login shell, which shouldn't affect afpd.
  man bash re:/etc/profile "By default, bash normally reads
  these files when it is invoked as a login shell"

D.



This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:30:46 EST