[Pkg-netatalk-devel] Bug#806217: netatalk: Mac fails to copy files to netatalk server with error -50

Brian Campbell 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:
> Hello
>
> 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[1]: Starting Session c1 of user jochen.
> Nov 25 13:43:19 joshua systemd[1]: Started Session c1 of user jochen.
> Nov 25 13:43:19 joshua console-kit-daemon[1940]: (process:2899): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
> Nov 25 13:43:19 joshua console-kit-daemon[1940]: missing action
> Nov 25 13:43:19 joshua afpd[2897]: AFP3.3 Login by jochen
> Nov 25 13:43:29 joshua afpd[2897]: sys_getextattr_size: error: Keine Berechtigung
> Nov 25 13:43:31 joshua afpd[2897]: sys_getextattr_size: error: Keine Berechtigung
> Nov 25 13:43:39 joshua afpd[2897]: getnamefromuuid(darwin_aces->darwin_ace_uuid, &name, &uuidtype) failed: Keine Daten verfügbar
> Nov 25 13:43:39 joshua afpd[2897]: afp_setacl("/var/local/samba/Videos/Anime/0 Incoming/Bestellung JP Dienstbekleidung Kopie.pdf"): error
> Nov 25 13:43:40 joshua afpd[2897]: 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:
http://netatalk.sourceforge.net/wiki/index.php/Install_Netatalk_3.1.7_on_Debian_7_Wheezy),
or there is an unofficial Netatalk packaging repository that has
Debian packaging for Netatalk 3:
https://github.com/adiknoth/netatalk-debian.

-- Brian



More information about the pkg-netatalk-devel mailing list