[Pkg-netatalk-devel] Bug#806217: netatalk: Mac fails to copy files to netatalk server with error -50
brian.campbell at editshare.com
Thu Nov 26 17:04:59 UTC 2015
On Wed, Nov 25, 2015 at 9:18 AM, Jochen Pawletta <jochen at hin.de> wrote:
> I upgraded to debian jessie a while ago, but was still on kernel 3.2
> for some reasons (boot-problems).
> Now I finaly changed to kernel 3.16 and the problems starting ...
> Netatalk does not work with the following log:
> Nov 25 13:43:19 joshua systemd: Starting Session c1 of user jochen.
> Nov 25 13:43:19 joshua systemd: Started Session c1 of user jochen.
> Nov 25 13:43:19 joshua console-kit-daemon: (process:2899): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
> Nov 25 13:43:19 joshua console-kit-daemon: missing action
> Nov 25 13:43:19 joshua afpd: AFP3.3 Login by jochen
> Nov 25 13:43:29 joshua afpd: sys_getextattr_size: error: Keine Berechtigung
> Nov 25 13:43:31 joshua afpd: sys_getextattr_size: error: Keine Berechtigung
> Nov 25 13:43:39 joshua afpd: getnamefromuuid(darwin_aces->darwin_ace_uuid, &name, &uuidtype) failed: Keine Daten verfügbar
> Nov 25 13:43:39 joshua afpd: afp_setacl("/var/local/samba/Videos/Anime/0 Incoming/Bestellung JP Dienstbekleidung Kopie.pdf"): error
> Nov 25 13:43:40 joshua afpd: sys_getextattr_size: error: Keine Berechtigung
According to Google Translate, "Keine Berechtigung" means "Not
Authorized". It looks like for some reason the calls to read extended
attributes from these files are failing.
I can think of two things that would be good to check in these
circumstances. One would be to turn up the logging level, at higher
logging levels there should be some more information about exactly
which attributes it's failing to retrieve.
The other would be to list the full permissions, and since it looks
like ACLs might be involved the ACLs as well, of the file in question.
Try getfacl from the "acl" package to show full information on the
permissions and ACLs on the file in question.
Another thing to try would be Netatalk 3; Netatalk 2 is no longer
supported upstream. Because of some questions on whether there are
appropriate licenses on all files, work on getting newer versions of
Netatalk into Debian has stalled. But you can build it yourself,
either directly from upstream source (using these instructions:
or there is an unofficial Netatalk packaging repository that has
Debian packaging for Netatalk 3:
More information about the pkg-netatalk-devel