Error 5 trying to use time machine with a remote drive.

I'm trying to backup my laptop (running Sonoma) to an external drive USB-attached to my desktop (iMac running Ventura) over my wi-fi network. When I try to attach the drive to Time Machine, it can see the drive but produces the following error when I provide the userid/password credentials:

The Operation couldn't be completed. (com.apple.TimeMachine.SettingsExtension Error 5.)

Posted on Jan 27, 2024 1:50 PM

Reply
Question marked as Top-ranking reply

Posted on Mar 17, 2024 3:15 PM

Hi everyone, I'm trying to share a external USB HDD from Mac Mini with MacOS Catalina to use for Time Machine, my client Mac is a Macbook Pro 16" (intel) with Sonoma.


When I try to use to activate a Time Machine from the Macbook Pro with Sonoma with that disk appears this error: The operation couldn’t be completed. (com.apple.TimeMachine.SettingsExtension error 5.)


Searching a solution I found the problem is a security update in MacOS Catalina (maybe can works on Ventura too) that change permissions on "smbd" program.


A solution for this is give permissions to smbd to read/write all complete disk:


  1. Open system Preferences
  2. Security & Privacy
  3. Privacy tab
  4. Full Disk Access
  5. Click on "+" to add an entry (if you can't click the "+" icon, make click on the padlock and authenticate with an administrator account or just type your password)
  6. Press Command + Shift + g  (or Command + G , see the G is uppercase)
  7. copy or type this: /usr/sbin to go to sbin folder, click o go
  8. find and choose "smbd" file
  9. See that recent added "smbd" is checked
  10. Done! your share disk is Ok to use in Time Machine client.


I found the solution in this link thanks to VideoBeagle user: https://forums.macrumors.com/threads/cant-connect-to-mounted-usb-drives-over-network-after-catalina-upgrade.2357001/ 


You can apply this for the AFP (AppleFileServer) program too.


Remember that you can share APFS disk only with smbd, AFP ins't supported anymore for disks formatted with APFS.


I hope this helps.

7 replies
Question marked as Top-ranking reply

Mar 17, 2024 3:15 PM in response to peg281

Hi everyone, I'm trying to share a external USB HDD from Mac Mini with MacOS Catalina to use for Time Machine, my client Mac is a Macbook Pro 16" (intel) with Sonoma.


When I try to use to activate a Time Machine from the Macbook Pro with Sonoma with that disk appears this error: The operation couldn’t be completed. (com.apple.TimeMachine.SettingsExtension error 5.)


Searching a solution I found the problem is a security update in MacOS Catalina (maybe can works on Ventura too) that change permissions on "smbd" program.


A solution for this is give permissions to smbd to read/write all complete disk:


  1. Open system Preferences
  2. Security & Privacy
  3. Privacy tab
  4. Full Disk Access
  5. Click on "+" to add an entry (if you can't click the "+" icon, make click on the padlock and authenticate with an administrator account or just type your password)
  6. Press Command + Shift + g  (or Command + G , see the G is uppercase)
  7. copy or type this: /usr/sbin to go to sbin folder, click o go
  8. find and choose "smbd" file
  9. See that recent added "smbd" is checked
  10. Done! your share disk is Ok to use in Time Machine client.


I found the solution in this link thanks to VideoBeagle user: https://forums.macrumors.com/threads/cant-connect-to-mounted-usb-drives-over-network-after-catalina-upgrade.2357001/ 


You can apply this for the AFP (AppleFileServer) program too.


Remember that you can share APFS disk only with smbd, AFP ins't supported anymore for disks formatted with APFS.


I hope this helps.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Error 5 trying to use time machine with a remote drive.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.