jorangreef / sudo-prompt

Run a command using sudo, prompting the user with an OS dialog if necessary.
MIT License
480 stars 119 forks source link

macOS Catalina Operation not permitted #122

Open nahddw opened 4 years ago

nahddw commented 4 years ago

The problem is in OSX 10.15. Error: Command failed: cp: /Users/xxx/: Operation not permitted. how to solve this problem, Thanks.

mauriciope commented 4 years ago

This is a SIP block https://support.apple.com/en-gb/HT204899 and the new way in which the volumes are created and secured in Catalina. Unless you have a MDM solution to allow such commands it will be very difficult to touch the Users home directory.