Subject: Re: 1.3b2 & file permissions
From: wesley.craig@umich.edu
Date: Thu Nov 11 1993 - 18:17:34 EST
> From: Patrick Goebel <patrick@casbs.stanford.edu>
> To: netatalk-admins@umich.edu
> Specifically, has anyone figured out how to preserve the group
> ownership of files as they are created under existing folders? If I
> explicitly set GID on a folder (from the UNIX side), then all files
> and subfolders created under that folder (from the Mac side) inherit
> the group ownership from the parent folder. So far so good. However,
> subfolders do not automatically get GID set so that files created
> under subfolders revert back to the user's primary group.
One solution is to mount your filesystem with the option "grpid". This
will cause all directories to always have the setgid bit set.
> This behavior is a little puzzling since if you have GID set on a
> subdirectory on the Sun, and then use the UNIX mkdir command to create
> a subdirectory, the GID *is* set on the subdirectory (although the
> permissions are determined by the user's UMASK, not the permissions of
> the parent directory.)
Yeah, this is presumably a bug in the permission code in afpd. I'll
look for it. THe prefered method is still to mount with "grpid".
:wes
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:19:56 EST