[Pkg-samba-maint] Bug#946419: samba-vfs-modules: Resource forks are truncated when written to fruit-enabled share

Michael Tokarev mjt at tls.msk.ru
Mon Oct 31 08:06:06 GMT 2022


Control: tag -1 + moreinfo

On Sun, 08 Dec 2019 13:09:44 -0800 Keith Kaisershot <ablitter at gmail.com> wrote:
> Package: samba-vfs-modules
> Version: 2:4.11.1+dfsg-3
> Severity: important
> 
> I use vfs_fruit with a Samba share serving various older versions of Mac OS X, from 10.6 up through 10.11, archiving classic Mac files dating back to the mid 80s. With the latest Samba 4.11.1 in Debian testing, writing one of these older files with a resource fork larger than 64K results in the resource fork portion getting truncated to 65454 bytes on the server end. This corrupts old Mac files with resource forks larger than 64K-- executables are the most affected by this, but graphic files such as PICT are too.
> 
> Looks like this is a regression, as this issue does not occur in 4.9.5 from Debian stable.
> 
> Repro steps:
> 1) Copy a classic 68K Mac OS application > 65K from a Mac OS X 10.11 client to a Samba 4.9.5 host. (I used ircle 1.5.6 as a test case here.)

I don't have any MacOS systems anywhere around to test this.

Is this still an issue with current samba -- 4.13 in bullseye or
4.16 in bookworm and bullseye-backports?

Thanks,

/mjt



More information about the Pkg-samba-maint mailing list