Post

Replies

Boosts

Views

Activity

Reply to daemons are unable to access files or folders
Found the solution for my issue: giving /bin/sh "Full Disk Access" got the daemon to start and operate correctly. I noticed if I started the daemon in the foreground from a terminal, it operated fine. But if started from launchd, it couldn't access anything. The only thing I can think of is the daemon's launch agent .plist file's keyProgram/key entry points to a /bin/sh script that actually starts the daemon (to ensure the PATH is correct, and various flags like coredump size unlimited, and some other checks to see if networking and file server access is operating before starting the actual daemon)
Apr ’21