Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sgharp

macrumors newbie
Original poster
Dec 29, 2012
12
1
Canton, GA USA
I have several python backup scripts running from a LauchCtl plist file. These backups use duplicity to backup my MacBook Pro to a NAS on my local network. Since upgrading to Sequoia, my scripts always fail with error code 50. Can anyone suggest a fix? These scripts have worked unchanged for years through several previous OS upgrades.

Thanks.....
 
»error code 50« sounds like a Finder error - the target is a AFP volume? SMB? when and how is the NAS mounted?
Otherwise: check Apple menu>>System Settings>> Privacy & Security
f9979df145e31ea9fb18995403d2b2f6.png

Then in the sidebar, click Local Network. Add duplicity to the app list and turn the ability to access your local network on.
 
»error code 50« sounds like a Finder error - the target is a AFP volume? SMB? when and how is the NAS mounted?
Otherwise: check Apple menu>>System Settings>> Privacy & Security
f9979df145e31ea9fb18995403d2b2f6.png

Then in the sidebar, click Local Network. Add duplicity to the app list and turn the ability to access your local network on.
Thanks for the reply. This "Local Network" option doesn't offer a way to add apps. It does however have Python enabled and Duplicity is just a Python app. The NAS is not mounted to my MacBook; it just exists on my local network and duplicity accesses the NSA via rsync. Again, all this worked for years prior to the "upgrade" to Sequoia.
 
Try to give Full Disk Access to duplicity.
No can do. duplicity is installed under the /usr folder and Settings doesn't give me the ability to add a script under that folder to the Full Disk Access list even after entering the root password.
 
No can do. duplicity is installed under the /usr folder and Settings doesn't give me the ability to add a script under that folder to the Full Disk Access list even after entering the root password.
After clicking the + sign and entering your password, press and ⌘⇧G (Go to Folder) and then write/paste /usr/local/bin/duplicity
 
  • Like
Reactions: Slartibart
After clicking the + sign and entering your password, press and ⌘⇧G (Go to Folder) and then write/paste /usr/local/bin/duplicity
Excellent trick! Thanks. I added duplicity and rsync (because duplicity uses rsync) to Full Disk Access and still get the same errors. I think the errors have to do with duplicity accessing the NAS on the local network but I can ssh into the NAS with no problem. It sure would be nice if Apple would fix this nonsense. I'm sure I'm not the only victim.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.