catalina full disk access

Arno S. Hautala arno at alum.wpi.edu
Wed Jan 26 14:24:43 UTC 2022


This isn’t specific to MacPorts, but is a more general issue with recent versions of macOS and “Full Disk Access”.

What I’ve found is that any binaries you add to Full Disk Access won’t actually be authorized. Authorized applications seem to need a bundle identifier. The behavior has also seen some changes under different OS versions. What are you using?

In theory, you should be able to create a wrapper application with Platypus [1]. But, I couldn’t get Platypus to work and had to create a Menu Bar application. It may be that the binary needs to be found within the app bundle?

[1]: https://sveinbjorn.org/platypus

See also [2], which includes a number of links at the end, including [3], which does sound to have some working solutions.

[2]: https://n8henrie.com/2018/11/how-to-give-full-disk-access-to-a-binary-in-macos-mojave/
[3]: https://github.com/restic/restic/issues/2051

-- 
arno  s  hautala    /-|   arno at alum.wpi.edu

pgp b2c9d448




> On 25 Jan 2022, at 12:39, macports at parvis.nl wrote:
> 
> from cron i run a bash job that runs a bash job that runs rsnapshot from an external usb disk to another external usb disk. 
> gcp -al (called from rsnapshot) fails with operation not permitted.
> it runs fine from ssh from iterm on another mac.
> 
> /usr/sbin/cron
> /opt/local/bin/bash
> /opt/local/bin/rsnapshot
> /opt/local/bin/rsync
> /opt/local/bin/gcp 
> all have full disk access in system preferences.
> 
> what can i do?
> 
> thanks,
> paul.



More information about the macports-users mailing list