Subject: [netatalk-admins] netatalk's handling of file permissions is broken...
From: Jeff Wiegley (jeff@w3-design.com)
Date: Thu Nov 06 1997 - 14:17:03 EST
Since netatalk was designed to *share* files between
multiple users it seems pretty silly to me that there
is no way to modify what file permissions are set on
files and directories when netatalk creates them.
A for instance:
I want *all* my directories to have a chmod of 2770.
This way any files a user creates inherits the group
that the directory belongs to and thus any members of
that group can access the files in this directory.
and files which are created should get a mode of at
least 0660.
all well and good for files, which seem to work correctly,
except if netatalk creates a subdirectory
then the subdirectory inherits the proper user.group from the
parent directory but it gets a mode of just 0770 efectively
loosing the 's' bits. Now if the user creates files in the
subdirectory they don't inherit any useful permissions and
other users cannot access these files.
There is no way a mac user can change the permissions of
the files/directories so I have to keep doing it manually
on the netatalk server which is a pain. At least I can't find
it.
How do I modify netatalk (afpd I guess in particular) to
change the default modes it gives to new files and directories?
I want all directories to have at least 2770 and all files to
have at least 0660.
samba had nice configuration parameters "force create mode"
and "force directory mode" to fix this for the samba users but
my netatalk users are still screwing up the permissions.
I'm sure somebody else has had this same problem. How did you
fix it?
- Jeff Wiegley
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:28:00 EST