Last active
January 13, 2023 22:37
-
-
Save harmancode/84c06855907975903583f79dcc67440a to your computer and use it in GitHub Desktop.
How to fix opendir operation not permitted error from rsync on macOS Catalina
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## How to fix opendir operation not permitted error from rsync on macOS Catalina | |
by Ertugrul Harman (twitter.com/harmancode - github.com/harmancode) | |
27 Dec 2020 | |
I was getting opendir operation not permitted error from rsync on macOS Catalina. | |
The command I was using: rsync -vaE --progress /Volumes/SourceName /Volumes/DestinationName | |
Source: https://apple.stackexchange.com/a/117469/65292 | |
I have fixed this error by giving Full Disk Access to Terminal and to /usr/bin/rsync. Tip: You can use CMD + Shift + G to choose the folder of rsync in System Preferences - Security & Privacy. | |
Extra sources: | |
https://apple.stackexchange.com/questions/224747/using-rsync-to-backup | |
https://stackoverflow.com/questions/30671292/running-rsync-as-root-operations-not-permitted | |
https://www.haykranen.nl/2008/05/05/rsync/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment