I have built apache http server from source in macosx monterey. If I run from a logged in user its ok. I have created a launch daemon script in /Library/LaunchDaemons to launch it every 5 seconds with apachectl start because I have the files in USB removable drive. When launchd tries to start the server I get access denied from the sandboxd while httpd is trying to read files off the USB drive.
How do I get around this ?