Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Time Machine SMB Backup Fails with "Permission denied" on Rename

Featured Replies

Hi everyone,

I'm struggling with Time Machine backups to my Unraid server via SMB. It worked perfectly on my MacBook Air M2, but after switching to a MacBook Pro M1 Max (both running the same macOS version), it consistently fails.

The Problem

Time Machine creates the .incomplete bundle but fails when trying to rename it to .sparsebundle:

Failed to rename '.../.incomplete' to '....sparsebundle', 
error: Error Domain=NSCocoaErrorDomain Code=513 
"couldn't be moved because you don't have permission to access timemachine"
NSUnderlyingError: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"
Backup failed: BACKUP_FAILED_DISK_IMAGE_NOT_CREATED (20)
Environment
  • Unraid 7.2.2

  • macOS Tahoe 26.1 (both MacBook Air M2 and MacBook Pro M1 Max)

  • SMB share on XFS array disk

  • Same user account, same network

What I've Tried (in order)

1. Basic Permission Adjustments
  • Changed force user = nobody to force user = jonas

  • Set create mask = 0600, directory mask = 0700

  • Result: Still failed

2. Removed Force User
  • Removed force user and force group completely

  • Changed to create mask = 0664, directory mask = 0775

  • Result: Manual mv .incomplete .sparsebundle now works, but Time Machine still fails

3. Disabled Unix Extensions
  • Added unix extensions = no (globally and per-share)

  • Result: No change

4. Case Sensitivity
  • Set case sensitive = no, preserve case = yes

  • Result: No change

5. Maximum Permissions
  • guest ok = yes, create mask = 0777, directory mask = 0777

  • Disabled all ACL/permission inheritance

  • Filesystem set to chmod 777 on Unraid

  • Result: Still fails with same error

Interesting Observations
  • A test script that creates .incomplete folders and renames them:

    • Fails without sudo (same "Permission denied" error)

    • Succeeds with sudo

  • Manual mv .incomplete .sparsebundle in Terminal works without sudo after permission adjustments

  • Time Machine itself still cannot rename despite all permissions being wide open

Current smb-extra.conf

[global]
   unix extensions = no
   server multi channel support = no
   ea support = yes
   vfs objects = catia fruit streams_xattr
   fruit:metadata = stream
   fruit:posix_rename = yes

[timemachine]
   path = /mnt/user/timemachine
   guest ok = yes
   writable = yes
   create mask = 0777
   directory mask = 0777
   force create mode = 0777
   force directory mode = 0777
   unix extensions = no
   case sensitive = no
   inherit permissions = no
   inherit acls = no
   store dos attributes = no
   vfs objects = catia fruit streams_xattr
   fruit:aapl = yes
   fruit:time machine = yes
   fruit:time machine max size = 2048G
   fruit:metadata = stream
   fruit:resource = file
   fruit:posix_rename = yes
   fruit:veto_appledouble = no
   fruit:wipe_intentionally_left_blank_rfork = yes
   fruit:delete_empty_adfiles = yes
   ea support = yes

Why would this work on MacBook Air M2 but fail on MacBook Pro M1 Max with identical macOS version, user account, and network setup? Is there a specific Samba setting or macOS security difference between these machines that could cause this?

Any insights would be greatly appreciated!

Solved by JorgeB

  • Community Expert

Which Unraid release?

  • Author

Hi @JorgeB ,

at the moment its Unraid 7.2.2 but i may have updated from 7.2.0 to 7.2.2 while i switched my Macbooks. But i cannot pin that down exactly in that timeline.

  • Community Expert
  • Solution

There's a Samba bug in the release that comes with all 7.2.x Unraid versions (4.23.2) that breaks Time Machine

Part of the bug was fixed in Samba 4.23.3, but there's an additional opath that hasn't yet been merged, the next Unraid release after that is out should resolve the issue, but if you need TM, now best bet for now is to downgrade to 7.1.4,

https://bugzilla.samba.org/show_bug.cgi?id=15926

  • Author

Thanks for that info! I will check the changelogs of the next Unraid versions for Samba updates inlcuding the fixes.

  • 2 weeks later...

Hello,

Did you manage to get TM working? I'm in your same situation, hoped that 7.2.3 would fix it, but I'm still getting the same exact failure when renaming to sparsebundle

  • Community Expert

This should be fixed in 7.2.3, try creating a new share for TM and starting a new backup.

1 minute ago, JorgeB said:

This should be fixed in 7.2.3, try creating a new share for TM and starting a new backup.

Sadly it didn't work.

I tried to delete and recreate the backup job on my mac

delete and recreate the share and checked, double and triple checked the permission but to no avail.

  • Community Expert

I'm afraid I cannot reproduce the issue, using MacOS Tahoe.

What is the exact error you see? Please post the diagnostics.

I did switch to the tm container which works without issue, as such I don't have unraid configured as a target anymore.

But I was getting the exact same error as op, I’ll see if I can recover the logs from this morning.

See attached logs.

Yes, I did check the permissions, users and everything over and over again, it stopped working a while ago when I removed the tm completely on my old Mac and deleted the share. When I went to set it up, it never worked again.

2025-12-19 10:07:43  Creating an encrypted sparsebundle diskimage at /Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/MacBook Air di Loris 2025-12-19-100743.incomplete
2025-12-19 10:07:43  Using a band size of 128 MB (on a volume with size of 524,29 GB)
2025-12-19 10:07:45  attrVolumeWithMountPoint 'file:///Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/' failed, error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"
2025-12-19 10:07:46  Limiting logging for limit: aFewTimes key: "map auto_home"
2025-12-19 10:07:46  attrVolumeWithMountPoint 'file:///Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/' failed, error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"
2025-12-19 10:07:46  attrVolumeWithMountPoint 'file:///Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/' failed, error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"
2025-12-19 10:07:46  Mountpoint '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine' is still valid
2025-12-19 10:07:47  Attached as disk4 to '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/MacBook Air di Loris 2025-12-19-100743.incomplete' using mode 'read/write'
2025-12-19 10:07:47  Failed to find Time Machine volume on '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/MacBook Air di Loris 2025-12-19-100743.incomplete', found:
2025-12-19 10:07:48  Failed to find Time Machine volume on '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/MacBook Air di Loris 2025-12-19-100743.incomplete', found:
2025-12-19 10:07:49  Failed to find Time Machine volume on '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/MacBook Air di Loris 2025-12-19-100743.incomplete', found:
2025-12-19 10:07:50  Failed to find Time Machine volume on '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/MacBook Air di Loris 2025-12-19-100743.incomplete', found:
2025-12-19 10:07:51  Failed to find Time Machine volume on '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/MacBook Air di Loris 2025-12-19-100743.incomplete', found:
2025-12-19 10:07:52  Failed to find Time Machine volume on '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/MacBook Air di Loris 2025-12-19-100743.incomplete', found:
2025-12-19 10:07:53  Failed to find Time Machine volume on '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/MacBook Air di Loris 2025-12-19-100743.incomplete', found:
2025-12-19 10:07:54  Failed to find Time Machine volume on '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/MacBook Air di Loris 2025-12-19-100743.incomplete', found:
2025-12-19 10:07:55  Failed to find Time Machine volume on '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/MacBook Air di Loris 2025-12-19-100743.incomplete', found:
2025-12-19 10:07:56  Failed to find Time Machine volume on '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/MacBook Air di Loris 2025-12-19-100743.incomplete', found:
2025-12-19 10:07:57  Failed to find Time Machine volume on '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/MacBook Air di Loris 2025-12-19-100743.incomplete', found:
2025-12-19 10:07:57  Backup volume device entry did not appear in IOKit registry in a timely manner!
2025-12-19 10:07:57  Erasing 'Backup di MacBook Air di Loris' as Case-sensitive APFS
2025-12-19 10:08:04  attrVolumeWithMountPoint 'file:///Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/' failed, error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"
2025-12-19 10:08:04  attrVolumeWithMountPoint 'file:///Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/' failed, error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"
2025-12-19 10:08:07  attrVolumeWithMountPoint 'file:///Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/' failed, error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"
2025-12-19 10:08:07  attrVolumeWithMountPoint 'file:///Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/' failed, error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"
2025-12-19 10:08:07  attrVolumeWithMountPoint 'file:///Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/' failed, error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"
2025-12-19 10:08:08  Limiting logging for limit: aFewTimes key: "map auto_home"
2025-12-19 10:08:08  attrVolumeWithMountPoint 'file:///Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/' failed, error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"
2025-12-19 10:08:08  Limiting logging for limit: aFewTimes key: "map auto_home"
2025-12-19 10:08:08  attrVolumeWithMountPoint 'file:///Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/' failed, error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"
2025-12-19 10:08:14  TRY_ERROR_BLOCK throwing error: Error Domain=TMStructureErrorDomain Code=4 "SnapshotStorage - Structure missing" UserInfo={NSUnderlyingError=0x87e8fd620 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}, NSURL=file:///Volumes/Backup%20di%20MacBook%20Air%20di%20Loris/, TMStructureStructureName=SnapshotStorage, NSLocalizedDescription=SnapshotStorage - Structure missing}
2025-12-19 10:08:14  Failed to read capabilities for '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine', error: Operation not permitted
2025-12-19 10:08:14  Limiting logging for limit: aFewTimes key: "map auto_home"
2025-12-19 10:08:14  Failed to read capabilities for '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine', error: Operation not permitted
2025-12-19 10:08:14  Failed to get resource value 'NSURLVolumeURLForRemountingKey' for '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine', error: Error Domain=NSCocoaErrorDomain Code=257 "Il file “timemachine” non può essere aperto perché non hai i privilegi necessari per visualizzarlo." UserInfo={NSURL=file:///Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine, NSFilePath=/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine, NSUnderlyingError=0xc8ebc89c0 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}}
2025-12-19 10:08:14  Failed to create volume info from disk '<TMDisk: 0xc8eb9d200> '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine'', error: missingURLForRemounting
2025-12-19 10:08:14  Limiting logging for limit: aFewTimes key: "map auto_home"
2025-12-19 10:08:14  Failed to read capabilities for '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine', error: Operation not permitted
2025-12-19 10:08:14  Failed to get resource value 'NSURLVolumeURLForRemountingKey' for '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine', error: Error Domain=NSCocoaErrorDomain Code=257 "Il file “timemachine” non può essere aperto perché non hai i privilegi necessari per visualizzarlo." UserInfo={NSURL=file:///Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine, NSFilePath=/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine, NSUnderlyingError=0xc8ebc8ae0 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}}
2025-12-19 10:08:14  Limiting logging for limit: aFewTimes key: "//[email protected]/timemachine"
2025-12-19 10:08:15  Erase finished, dictionary: {
2025-12-19 10:08:15  Dictionary with name 'com.apple.TimeMachine.MachineID.plist' does not exist for disk image 'file:///Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/MacBook%20Air%20di%20Loris%202025-12-19-100743.incomplete'
2025-12-19 10:08:15  Health check state changed to: 1
2025-12-19 10:08:17  Unmounted '/Volumes/Backup di MacBook Air di Loris'
2025-12-19 10:08:18  Limiting logging for limit: aFewTimes key: "map auto_home"
2025-12-19 10:08:18  Failed to read capabilities for '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine', error: Operation not permitted
2025-12-19 10:08:18  Failed to get resource value 'NSURLVolumeURLForRemountingKey' for '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine', error: Error Domain=NSCocoaErrorDomain Code=257 "Il file “timemachine” non può essere aperto perché non hai i privilegi necessari per visualizzarlo." UserInfo={NSURL=file:///Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine, NSFilePath=/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine, NSUnderlyingError=0xc8ebc89c0 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}}
2025-12-19 10:08:18  Limiting logging for limit: aFewTimes key: "//[email protected]/timemachine"
2025-12-19 10:08:18  Limiting logging for limit: aFewTimes key: "map auto_home"
2025-12-19 10:08:18  Failed to read capabilities for '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine', error: Operation not permitted
2025-12-19 10:08:18  Failed to get resource value 'NSURLVolumeURLForRemountingKey' for '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine', error: Error Domain=NSCocoaErrorDomain Code=257 "Il file “timemachine” non può essere aperto perché non hai i privilegi necessari per visualizzarlo." UserInfo={NSURL=file:///Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine, NSFilePath=/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine, NSUnderlyingError=0xc8ebc8ae0 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}}
2025-12-19 10:08:18  Limiting logging for limit: aFewTimes key: "//[email protected]/timemachine"
2025-12-19 10:08:18  FULLFSYNC succeeded for '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/MacBook Air di Loris 2025-12-19-100743.incomplete/Info.plist'
2025-12-19 10:08:18  FULLFSYNC succeeded for '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/MacBook Air di Loris 2025-12-19-100743.incomplete/token'
2025-12-19 10:08:18  Failed to rename '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/MacBook Air di Loris 2025-12-19-100743.incomplete' to '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/MacBook Air di Loris.sparsebundle', error: Error Domain=NSCocoaErrorDomain Code=513 "“MacBook Air di Loris 2025-12-19-100743.incomplete” couldn’t be moved because you don’t have permission to access “timemachine”." UserInfo={NSSourceFilePathErrorKey=/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/MacBook Air di Loris 2025-12-19-100743.incomplete, NSUserStringVariant=(
2025-12-19 10:08:18  Failed to create disk image at '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/MacBook Air di Loris 2025-12-19-100743.incomplete', error: (null)
2025-12-19 10:08:18  Started deleting '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/MacBook Air di Loris 2025-12-19-100743.incomplete'
2025-12-19 10:08:19  Mountpoint '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine' is still valid
2025-12-19 10:08:19  Mountpoint '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine' is still valid
2025-12-19 10:08:19  Unmounted '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine'
2025-12-19 10:08:19  Error Error Domain=com.apple.backupd.ErrorDomain Code=20 "(null)" UserInfo={NSUnderlyingError=0x90f042970 {Error Domain=com.apple.backupd.ErrorDomain Code=20 "(null)"}} not retryable.
2025-12-19 10:08:19  MobileKeyBagAssertionBox: Assertion dropped - device locking is allowed
2025-12-19 10:08:19  Device locking is allowed.
2025-12-19 10:08:19  Sending com.apple.backupd.result analytics.
2025-12-19 10:08:19  Finished rotating through all destinations
2025-12-19 10:08:19  Backup failed: BACKUP_FAILED_DISK_IMAGE_NOT_CREATED (20)
2025-12-19 10:08:19  Failed to delete '/Volumes/.timemachine/10.0.0.10/2A49F348-862C-4D88-8B41-60258C29359C/timemachine/MacBook Air di Loris 2025-12-19-100743.incomplete', error: Error Domain=NSCocoaErrorDomain Code=4 "“MacBook Air di Loris 2025-12-19-100743.incomplete” couldn’t be removed." UserInfo={NSUserStringVariant=(
2025-12-19 10:08:19  com.apple.TMHelperAgent.DeliverNotification: connection invalid
2025-12-19 10:08:42 
2025-12-19 10:08:42  No pending apple event to handle
2025-12-19 10:08:43  Failed to create volume info from disk '<TMDisk: 0xbe956a6d0> '/System/Volumes/Data/home'', error: missingName
2025-12-19 10:09:12  Limiting logging for limit: aFewTimes key: "map auto_home"
2025-12-19 10:09:12  Limiting logging for limit: aFewTimes key: "map auto_home"
2025-12-19 10:09:47  Failed to create volume info from disk '<TMDisk: 0xbe962af70> '/System/Volumes/Data/home'', error: missingName
2025-12-19 10:10:16  Limiting logging for limit: aFewTimes key: "map auto_home"
2025-12-19 10:10:16  Limiting logging for limit: aFewTimes key: "map auto_home"
2025-12-19 10:10:51  Failed to create volume info from disk '<TMDisk: 0xbe9629530> '/System/Volumes/Data/home'', error: missingName
2025-12-19 10:11:20  Limiting logging for limit: aFewTimes key: "map auto_home"
2025-12-19 10:11:20  Limiting logging for limit: aFewTimes key: "map auto_home"
2025-12-19 10:11:53  Failed to create volume info from disk '<TMDisk: 0xbe9629530> '/System/Volumes/Data/home'', error: missingName
2025-12-19 10:12:13  User tried to start a backup
2025-12-19 10:12:13  Backup requested to next destination in rotation. specifiedOptions: TMBackupOptions(rawValue: 0)
2025-12-19 10:12:13  lastDestinationID: BD4E65D2-B7C5-40B6-8AE8-64B488C2850D; nextDestinationID: BD4E65D2-B7C5-40B6-8AE8-64B488C2850D
2025-12-19 10:12:13  Not rotating backup destinations, next destination is the same as the last destination.
2025-12-19 10:12:13  Attempting backup with mode "manual backup"
2025-12-19 10:12:13 > { AssertionType '(null)' (4), Assertion Retain: (1)} - device locking is prevented
2025-12-19 10:12:13  Device locking is prevented.
2025-12-19 10:12:13  Mounting destination BD4E65D2-B7C5-40B6-8AE8-64B488C2850D for backing up
2025-12-19 10:12:13  Attempting to mount 'smb://[email protected]/timemachine'
2025-12-19 10:12:15  Mounted 'smb://[email protected]/timemachine' at '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine'
2025-12-19 10:12:15  Initial network volume options for 'timemachine' are {disablePrimaryReconnect: 0, disableSecondaryReconnect: 0, reconnectTimeOut: 0, QoS: 0x0, attributes: 0x1C}
2025-12-19 10:12:15  Setting network volume options for 'timemachine' to {disablePrimaryReconnect: 0, disableSecondaryReconnect: 1, reconnectTimeOut: 30, QoS: 0x20, attributes: 0x1C}
2025-12-19 10:12:15  Current network volume options for 'timemachine' are {disablePrimaryReconnect: 0, disableSecondaryReconnect: 0, reconnectTimeOut: 30, QoS: 0x20, attributes: 0x1C}
2025-12-19 10:12:16  Mountpoint '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine' is still valid
2025-12-19 10:12:16  Mountpoint '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine' supports required network capabilities (914,82 GB of 1 TB available)
2025-12-19 10:12:16  Not attempting UUID match for incomplete diskimage 'file:///Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/MacBook%20Air%20di%20Loris%202025-12-19-100743.incomplete/'
2025-12-19 10:12:16  Not attempting MAC address match for incomplete diskimage 'file:///Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/MacBook%20Air%20di%20Loris%202025-12-19-100743.incomplete/'
2025-12-19 10:12:17  Mountpoint '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine' is still valid
2025-12-19 10:12:17  Creating an encrypted sparsebundle diskimage at /Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/MacBook Air di Loris 2025-12-19-101217.incomplete
2025-12-19 10:12:17  Using a band size of 244,2 MB (on a volume with size of 1 TB)
2025-12-19 10:12:20  Mountpoint '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine' is still valid
2025-12-19 10:12:20  Attached as disk4 to '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/MacBook Air di Loris 2025-12-19-101217.incomplete' using mode 'read/write'
2025-12-19 10:12:20  Failed to find Time Machine volume on '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/MacBook Air di Loris 2025-12-19-101217.incomplete', found:
2025-12-19 10:12:21  Failed to find Time Machine volume on '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/MacBook Air di Loris 2025-12-19-101217.incomplete', found:
2025-12-19 10:12:22  Failed to find Time Machine volume on '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/MacBook Air di Loris 2025-12-19-101217.incomplete', found:
2025-12-19 10:12:23  Limiting logging for limit: aFewTimes key: "map auto_home"
2025-12-19 10:12:23  attrVolumeWithMountPoint 'file:///Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/' failed, error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"
2025-12-19 10:12:23  Limiting logging for limit: aFewTimes key: "map auto_home"
2025-12-19 10:12:23  attrVolumeWithMountPoint 'file:///Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/' failed, error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"
2025-12-19 10:12:23  Failed to find Time Machine volume on '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/MacBook Air di Loris 2025-12-19-101217.incomplete', found:
2025-12-19 10:12:24  Failed to find Time Machine volume on '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/MacBook Air di Loris 2025-12-19-101217.incomplete', found:
2025-12-19 10:12:25  Failed to find Time Machine volume on '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/MacBook Air di Loris 2025-12-19-101217.incomplete', found:
2025-12-19 10:12:26  Failed to find Time Machine volume on '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/MacBook Air di Loris 2025-12-19-101217.incomplete', found:
2025-12-19 10:12:27  Failed to find Time Machine volume on '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/MacBook Air di Loris 2025-12-19-101217.incomplete', found:
2025-12-19 10:12:28  Failed to find Time Machine volume on '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/MacBook Air di Loris 2025-12-19-101217.incomplete', found:
2025-12-19 10:12:29  Failed to find Time Machine volume on '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/MacBook Air di Loris 2025-12-19-101217.incomplete', found:
2025-12-19 10:12:30  Failed to find Time Machine volume on '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/MacBook Air di Loris 2025-12-19-101217.incomplete', found:
2025-12-19 10:12:30  Backup volume device entry did not appear in IOKit registry in a timely manner!
2025-12-19 10:12:30  Erasing 'Backup di MacBook Air di Loris' as Case-sensitive APFS
2025-12-19 10:12:47  TRY_ERROR_BLOCK throwing error: Error Domain=TMStructureErrorDomain Code=4 "SnapshotStorage - Structure missing" UserInfo={NSUnderlyingError=0x87df14390 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}, NSURL=file:///Volumes/Backup%20di%20MacBook%20Air%20di%20Loris/, TMStructureStructureName=SnapshotStorage, NSLocalizedDescription=SnapshotStorage - Structure missing}
2025-12-19 10:12:48  Failed to read capabilities for '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine', error: Operation not permitted
2025-12-19 10:12:48  Limiting logging for limit: aFewTimes key: "map auto_home"
2025-12-19 10:12:48  Failed to read capabilities for '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine', error: Operation not permitted
2025-12-19 10:12:48  Failed to create volume info from disk '<TMDisk: 0xbe962a2e0> '/System/Volumes/Data/home'', error: missingName
2025-12-19 10:12:48  Failed to get resource value 'NSURLVolumeURLForRemountingKey' for '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine', error: Error Domain=NSCocoaErrorDomain Code=257 "Il file “timemachine” non può essere aperto perché non hai i privilegi necessari per visualizzarlo." UserInfo={NSURL=file:///Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine, NSFilePath=/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine, NSUnderlyingError=0xc8ebc9200 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}}
2025-12-19 10:12:48  Limiting logging for limit: aFewTimes key: "//[email protected]/timemachine"
2025-12-19 10:12:48  Limiting logging for limit: aFewTimes key: "map auto_home"
2025-12-19 10:12:48  Failed to read capabilities for '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine', error: Operation not permitted
2025-12-19 10:12:48  Failed to get resource value 'NSURLVolumeURLForRemountingKey' for '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine', error: Error Domain=NSCocoaErrorDomain Code=257 "Il file “timemachine” non può essere aperto perché non hai i privilegi necessari per visualizzarlo." UserInfo={NSURL=file:///Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine, NSFilePath=/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine, NSUnderlyingError=0xc8ebc9290 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}}
2025-12-19 10:12:48  Limiting logging for limit: aFewTimes key: "//[email protected]/timemachine"
2025-12-19 10:12:48  Failed to get resource value 'NSURLVolumeURLForRemountingKey' for '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine', error: Error Domain=NSCocoaErrorDomain Code=257 "Il file “timemachine” non può essere aperto perché non hai i privilegi necessari per visualizzarlo." UserInfo={NSURL=file:///Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine, NSFilePath=/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine, NSUnderlyingError=0xbe93a37e0 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}}
2025-12-19 10:12:48  Failed to create volume info from disk '<TMDisk: 0xbe962a2e0> '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine'', error: missingURLForRemounting
2025-12-19 10:12:49  Erase finished, dictionary: {
2025-12-19 10:12:49  Dictionary with name 'com.apple.TimeMachine.MachineID.plist' does not exist for disk image 'file:///Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/MacBook%20Air%20di%20Loris%202025-12-19-101217.incomplete'
2025-12-19 10:12:49  Health check state changed to: 1
2025-12-19 10:12:51  Unmounted '/Volumes/Backup di MacBook Air di Loris'
2025-12-19 10:12:51  Limiting logging for limit: aFewTimes key: "map auto_home"
2025-12-19 10:12:51  attrVolumeWithMountPoint 'file:///Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/' failed, error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"
2025-12-19 10:12:51  Limiting logging for limit: aFewTimes key: "map auto_home"
2025-12-19 10:12:51  attrVolumeWithMountPoint 'file:///Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/' failed, error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"
2025-12-19 10:12:51  Limiting logging for limit: aFewTimes key: "map auto_home"
2025-12-19 10:12:51  attrVolumeWithMountPoint 'file:///Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/' failed, error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"
2025-12-19 10:12:51  attrVolumeWithMountPoint 'file:///Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/' failed, error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"
2025-12-19 10:12:52  FULLFSYNC succeeded for '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/MacBook Air di Loris 2025-12-19-101217.incomplete/Info.plist'
2025-12-19 10:12:52  FULLFSYNC succeeded for '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/MacBook Air di Loris 2025-12-19-101217.incomplete/token'
2025-12-19 10:12:52  Failed to rename '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/MacBook Air di Loris 2025-12-19-101217.incomplete' to '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/MacBook Air di Loris.sparsebundle', error: Error Domain=NSCocoaErrorDomain Code=513 "“MacBook Air di Loris 2025-12-19-101217.incomplete” couldn’t be moved because you don’t have permission to access “timemachine”." UserInfo={NSSourceFilePathErrorKey=/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/MacBook Air di Loris 2025-12-19-101217.incomplete, NSUserStringVariant=(
2025-12-19 10:12:52  Failed to create disk image at '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/MacBook Air di Loris 2025-12-19-101217.incomplete', error: (null)
2025-12-19 10:12:52  Started deleting '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/MacBook Air di Loris 2025-12-19-101217.incomplete'
2025-12-19 10:12:52  Mountpoint '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine' is still valid
2025-12-19 10:12:52  Mountpoint '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine' is still valid
2025-12-19 10:12:52  Unmounted '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine'
2025-12-19 10:12:52  Error Error Domain=com.apple.backupd.ErrorDomain Code=20 "(null)" UserInfo={NSUnderlyingError=0x90f042be0 {Error Domain=com.apple.backupd.ErrorDomain Code=20 "(null)"}} not retryable.
2025-12-19 10:12:52  MobileKeyBagAssertionBox: Assertion dropped - device locking is allowed
2025-12-19 10:12:52  Device locking is allowed.
2025-12-19 10:12:52  Sending com.apple.backupd.result analytics.
2025-12-19 10:12:52  Finished rotating through all destinations
2025-12-19 10:12:52  Backup failed: BACKUP_FAILED_DISK_IMAGE_NOT_CREATED (20)
2025-12-19 10:12:52  Failed to delete '/Volumes/.timemachine/10.0.0.10/D6A055DE-179A-474B-8214-EA91ACCEB62C/timemachine/MacBook Air di Loris 2025-12-19-101217.incomplete', error: Error Domain=NSCocoaErrorDomain Code=4 "“MacBook Air di Loris 2025-12-19-101217.incomplete” couldn’t be removed." UserInfo={NSUserStringVariant=(

Also, I noticed that on the last try I got a different error as you can see in the attached logs, but before I was getting the same error (Permission denied when renaming)

I’m on MacOS Tahoe too.

Edited by Kirioi
added logs

  • Community Expert
11 minutes ago, JorgeB said:

Please post the diagnostics.

I did set it up as a tm share (also if I didn't I wouldn't be able to select it at all, would I).

I did also select a floor, changed it two times in fact as I was debating how much space from my cache drive I wanted to give to tm backups as I already filled it once.

  • Author

I just checked it mysefl after the UnRaid OS Update and it still does not work. I installed the Update 7.2.3 and after a reboot i deleted the share and created a new one. The export is on "Yes/Time Machine".
The Time Machine logs on my Mac still show permission errors, but this time not regarding the renaming of the sparsebundle:

Permission Denied on Resource Properties: Failed to get resourceProperties from URL <private> with error Error Domain=NSCocoaErrorDomain Code=257 "The file “timemachine” could not be opened because you do not have the access rights to view it." UserInfo={..., NSUnderlyingError=0x79117a550 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}}

Entitlement Check Failure: kernel: smbfs_vnop_ioctl: Time Machine entitlement check failed

Failed to Read Capabilities: TimeMach: Failed to read capabilities for '/Volumes/timemachine', error: Operation not permitted

POSIX Permission Denied: TimeMach: attrVolumeWithMountPoint 'file:///Volumes/.timemachine/10.1.0.1/03EEDEDA-F658-4F7F-93CD-7231CE946144/timemachine/' failed, error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"


I can copy/move files to that volume using Finder no problem.

botcloud-diagnostics-20251219-1435.zip

Edited by Magnum.308

12 minutes ago, Magnum.308 said:

I just checked it mysefl after the UnRaid OS Update and it still does not work. I installed the Update 7.2.3 and after a reboot i deleted the share and created a new one. The export is on "Yes/Time Machine".
The Time Machine logs on my Mac still show permission errors, but this time not regarding the renaming of the sparsebundle:

Permission Denied on Resource Properties: Failed to get resourceProperties from URL <private> with error Error Domain=NSCocoaErrorDomain Code=257 "The file “timemachine” could not be opened because you do not have the access rights to view it." UserInfo={..., NSUnderlyingError=0x79117a550 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}}

Entitlement Check Failure: kernel: smbfs_vnop_ioctl: Time Machine entitlement check failed

Failed to Read Capabilities: TimeMach: Failed to read capabilities for '/Volumes/timemachine', error: Operation not permitted

POSIX Permission Denied: TimeMach: attrVolumeWithMountPoint 'file:///Volumes/.timemachine/10.1.0.1/03EEDEDA-F658-4F7F-93CD-7231CE946144/timemachine/' failed, error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"


I can copy/move files to that volume using Finder no problem.

botcloud-diagnostics-20251219-1435.zip

I experienced the same, also using finder works perfectly, only timemachine is experiencing these permission issues.

  • Community Expert
1 hour ago, Kirioi said:

I did set it up as a tm share (also if I didn't I wouldn't be able to select it at all, would I).

Did you remove or delete the share, I assume it's the one named timemachine?

  • Community Expert

I cannot reproduce; a new backup always works for me:

image.png

  • Author

I have created a completely new share with a name never used before. I still get these errors. Does that maybe have something to do with the size of the backup and the share? With my old 256GB Macbook Air / and share set to 512GB i had no Problems. My new Macbook Pro has 1TB and the share is set to 2048GB.

I have checked the samba.conf to make sure my old manual edits were not creating new problems. Also the extra configurations set in the GUI are empty and the smb service was restarted.

  • Community Expert
1 minute ago, Magnum.308 said:

My new Macbook Pro has 1TB and the share is set to 2048GB.

It's worth a try setting a limit; also, I recommend setting the share to a single disk, not sure TM can span array disks.

  • Author

I have now tested at least 10 different configurations for creating and setting up the share and Time Machine on my Mac. Regardless of the combination—whether changing quota limits, share settings, or other options—Time Machine does not work.

I am still receiving the permission errors I described earlier. At this point, I am very certain the issue is not related to how I create or configure the share on the server, as I have ruled out every possible variable.

  • Community Expert

While I still cannot reproduce the issue when creating an TM actual backup, but I've found a manual way to trigger the bug, and can confirm it's still present in Unraid 7.2.3, not sure how, since Samba 2.23.4 was supposed to fix exactly this bug, but there's no doubt for me now that it's still there.

LT is aware of the issue and will investigate. Possibly the patch didn't get correctly applied to Samba 4.23.4, only Samba 4.22.7, but now that I can reproduce it 100% of the time, it should be easier to troubleshoot.

Until this is resolved, recommend that anyone who uses TM remain on 7.1.4 or use the container option with 7.2.x

  • 3 weeks later...

May I ask if there is update on this problem?

  • Community Expert

Not yet, LT is still investigating, if you need TM best to downgrade to 7.1.4 for now or use the container.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.