#452 Netatalk 3.0 CNID Inconsistency

None
closed
None
5
2012-12-04
2012-08-21
Anonymous
No

I am seeing dbd report CNID errors whenever I use Finder to copy files
from a shared volume to a folder on the same volume. I am using the
Finder's "drag and drop on a folder while holding down the Option key"
method to copy files.

Using dbd to scan the shared volume just prior and after the copy
operation shows the error is introduced immediately after the copy
operation completes. Curiously, no error is reported if I just move
the file into the folder (by not holding down the Option key), nor is
any error reported if I perform the copy operation from the command
line. Somehow Finder appears implicated in this erroneous behavior.

The following dbd error is reported when I use Finder to copy file 'a'
to folder '1' on the shared volume:

Bad CNID in adouble file of '/rpool/guest/1/a'

The shared volume is used for guest access via the 'nobody' user.
Permissions on the ZFS folder is as follows:

drwxr-xr-x+ 2 nobody staff 2 Aug 19 16:29 /rpool/guest/
owner@:rwxp-DaARWcCos:fd-----:allow
group@:r-x---a-RWc--s:fd-----:allow
everyone@:r-x---a-R-c--s:-------:allow

Server information:

SunOS netatalk 5.11 11.0 i86pc i386 i86pc (Solaris 11)

Client information:

Darwin Kernel Version 11.4.0 (OS X 10.7.4)

Build information:

./configure --without-pam --with-init-style=solaris

Discussion

  • franklahm

    franklahm - 2012-08-21

    The client uses copyfile which makes me believe that afpd is possibly copying the metadata EA without adjusting the CNID afterwards.

     
  • Ralph Böhme

    Ralph Böhme - 2012-12-04
    • status: open --> closed
    • milestone: -->
     

Log in to post a comment.