Package: netatalk
Version: 2.0.4~beta2-4.1

afpd appears to have issues with symlinks when the symlink name doesn't match the actual name of the directory.

I have a share like the following in AppleVolumes.default
/home/shared   "shared"   dbpath:/var/lib/netatalk cnidscheme:dbd options:ro

Inside this shared directory are symlinks to other bits of the filesystem that I wish to share via AFP.

The following symlink will work:
ln -s /somewhere/else/Content /home/shared/Content

The following will not:
ln -s /somewhere/else/Content /home/shared/CoNtEnT

If I have the share mounted on the Mac (OS X 10.5.6 in this case) and go into /Volumes/shared with the "broken" symlink setup and execute 'ls' followed by 'ls -l', I would see the following:

$ ls
CoNtEnT

$ ls -l
ls: CoNtEnT: No such file or directory

afpd seems to be combining the directory that the actual 'Content' directory lives in with the symlink name and then trying to look for '/somewhere/else/CoNtEnT', which it should not be doing.

-David


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29.1-grsec (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages netatalk depends on:
ii  libc6                2.9-4               GNU C Library: Shared libraries
ii libcomerr2 1.41.3-1 common error description library ii libcrack2 2.8.13-8 pro-active password checker librar ii libcups2 1.3.8-1lenny4.1 Common UNIX Printing System(tm) - ii libdb4.2 4.2.52+dfsg-5 Berkeley v4.2 Database Libraries [ ii libgcrypt11 1.4.4-2 LGPL Crypto library - runtime libr ii libgnutls26 2.6.4-2 the GNU TLS library - runtime libr ii libgpg-error0 1.6-1 library for common error values an ii libkrb53 1.6.dfsg.4~beta1-12 Transitional library package/krb4 ii libpam-modules 1.0.1-9 Pluggable Authentication Modules f ii libpam0g 1.0.1-9 Pluggable Authentication Modules l ii libtasn1-3 1.8-1 Manage ASN.1 structures (runtime) ii libwrap0 7.6.q-16 Wietse Venema's TCP wrappers libra
ii  netbase              4.34                Basic TCP/IP networking system
ii perl 5.10.0-19 Larry Wall's Practical Extraction
ii  zlib1g               1:1.2.3.3.dfsg-13   compression library - runtime

Versions of packages netatalk recommends:
ii cracklib-runtime 2.8.13-8 runtime support for password check
pn  db4.2-util                 <none>        (no description available)
ii libpam-cracklib 1.0.1-9 PAM module to enable cracklib supp
ii  lsof                       4.81.dfsg.1-1 List open files
ii  procps                     1:3.2.7-11    /proc file system utilities
pn  rc                         <none>        (no description available)

Versions of packages netatalk suggests:
pn  quota                         <none>     (no description available)
pn  tetex-bin                     <none>     (no description available)
pn  timeout                       <none>     (no description available)

-- no debconf information



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to