Subject: Re: umode/mask for newly created files...
From: Lancaster, David Matthew (c4ng2@unb.ca)
Date: Thu May 18 2000 - 20:15:40 EDT
Have a similar situation, and the only solution is to enable the setgid
bit on the directory, and chmod 770 the directory. AFAIK, netatalk
defaults to the same permissions as the encompassing folder (ie. dir=720,
then file becomes 720), but not the same user & group. If you put the
setgid bit on, any file or directory will be created with the same group
as the original. So, use a directory with 770+ setgid, and it should
work.
D.
David Lancaster (506) 454-2167
690 Gregg Ct. Upper Apartment
Fredericton, NB Canada E3B 4H5
c4ng2@unb.ca "Don't anthropomorphize computers, they hate that."
On Fri, 19 May 2000, Michael Paesold wrote:
> Hi!
>
> 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)
>
> Greetings,
> Mike
>
> --
> Michael Paesold, mailto:paesold@sein.at
> Vienna, Austria, Europe
>
>
>
This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:30:45 EST