[Samba] vfs_fruit & resource forks on macOS
Ralph Boehme
slow at samba.org
Wed Oct 23 15:54:50 UTC 2019
On 10/23/19 4:31 PM, Perttu Aaltonen via samba wrote:
> From version 4.10.6 onwards folder icons are not working anymore on macOS. I can see the "._Icon?” file written on disk but seems like Samba isn’t reading it back and presenting it to the client. Is there a change or new setting that is needed on more recent versions, or have I hit a bug? I noticed 4.10.6 had some work done regarding AppleDouble and resource forks.
>
> In the client log I’m seeing this, not sure if it’s related:
>
> [2019/10/21 21:20:32.854630, 1] ../../source3/modules/vfs_fruit.c:979(ad_unpack)
> Limiting ADEID_RFORK: off: 82, len: 65454
this log message indicates that the resource fork length given in the
AppleDouble header of the file is bigger the actual on disk file.
Iirc this change has been there since ages. It was added with bugfix
11125 for 4.2.something.
Can you share a copy of an Icon file so I can check?
-slow
--
Ralph Boehme, Samba Team https://samba.org/
Samba Developer, SerNet GmbH https://sernet.de/en/samba/
GPG-Fingerprint FAE2C6088A24252051C559E4AA1E9B7126399E46
More information about the samba
mailing list