[Samba] Samba 4.22 breaks Time Machine

jdistler-samba at golem.ph.utexas.edu
2025-03-10T12:59:10Z

> On Mar 10, 2025, at 05:15, Ralph Boehme via samba <samba at
lists.samba.org> wrote:
>
> On 3/9/25 5:14 AM, jdistler-samba--- via samba wrote:
>> Time Machine on macOS relies on fruit:posix_rename (in particular to
>> rename the .sparsebundle file). Samba 4.22 removed this feature,
>> thus breaking Time Machine.
> sorry, but this option was removed as a) it could result in data loss for
Windows clients and b) it was putting a unbearable burden on development.

Could we at least agree that the warning in the Samba 4.22.0 Release Notes:

>> As a possible workaround it is possible to prevent creation of
.DS_Store files
>> (a Finder thingy to store directory view settings) on network mounts by
running
>>
>> $ defaults write com.apple.desktopservices DSDontWriteNetworkStores
true
>>
>> on the Mac.

is ... inadequate?

  "Samba 4.22.0 (and later) is therefore incompatible with all current
(macOS 15.x and earlier) versions of Apple's Time Machine."

is the minimal warning that should be in the Release Notes of 4.22.1.

> The correct fix for this would be getting Apple to implement and use SMB3
POSIX Extensions which would cover this case correctly.

Perhaps there will be a future version of macOS which will do that.

Warning users that this change will break all *existing* Time Machine clients is
the least you could do ...


>>
> Sorry!
> -slow
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba