On Fri, 12 Nov 1999, Stefan Barth wrote:

> Hi!
> 
> ls -l /Intranet/ yields among other things:
> lrwxrwxrwx   1 technisa trusty         22 Nov  5 15:06 selfhtml ->
> /home/stefan/selfhtml
> 
> /Intranet is available via netatalk as Intranet, all users log in as
> technisat with the same password.
> 
> The original folder resides in /home/stefan:
> drwxrwxrwx   2 technisa trusty      18432 Sep  2 11:06 selfhtml

The error occurs in etc/afpd/enumerate.c in the following code:

        if ( stat( sd.sd_last, &st ) < 0 ) {
            syslog( LOG_DEBUG, "afp_enumerate: stat %s: %m", sd.sd_last );
            sd.sd_last += len + 1;
            continue;
        }

The man page for stat(2) says:

       These  functions  return  information  about the specified
       file.  You do not need any access rights to  the  file  to
       get  this  information  but  you need search rights to all
       directories named in the path leading to the file.

My bet is that you have permissions to access the file, but not stefan's
home directory.  You must have the public execute bit set on every
directory in the path to stat the file.

        Andy

Reply via email to