Subject: Re: [netatalk-admins] Does Netatalk follow symlinks?
From: Bill Studenmund (skippy@macro.stanford.edu)
Date: Tue Jul 22 1997 - 19:38:13 EDT
On Tue, 22 Jul 1997, Jorge Gonzalez wrote:
> I have two users, A and B, who wish to share a directory inside one of their
> homes. A gives rw permission to the group A and B belong to, so B can access
> the directory, although it's inside A's home directory. All fine. Then B
> decides that he wants to be comfortable, so he symlinks the shared directory
> from A's home to his. All fine again. In UNIX, B can access A's shared
> directory without a glitch, just cd'ing to it, following the symlink.
You might try having A give rwx permissions to the group. For directories,
x means you can cd through the directory. For (an unrelated) example, anon
ftp servers' "private" directory typically has the world execute bit set,
but not the world read. Thus everyone can cd through (if they know the
name of the destination), but they can't ls.
> But wait, B is the proud owner of a Mac, so he wished he could access files
> in the shared directory with Netatalk. Netatalk then decides that... he has
> not enough rights to do it, even though he does, in fact.
>
> Does anyone know if Netatalk has any problems following symlinks, or can it
> be configured through some option I didn't see in the manpage??
Netatalk probably has no problem with the symlink. It just doesn't like
the permissions it finds on the other end. Remember, symlinks typically
have ALL permission bits set.
Take care,
Bill
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:25:45 EST