launchd NFS access

Hello, I have a question regarding how launchd handles NFS shares in macOS 10.15 and later. It seems that launchd daemons can't access network shares (NFS) any longer. Is it possible to enable NFS access for launch daemons?
Are you hitting the privacy restriction? That is, System Preferences > Security & Privacy > Files and Folders > DDD > Network Volumes.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
I have launchd and launchctl listed as Full Disk Access. What is DDD?

I have launchd and launchctl listed as Full Disk Access.

FYI, that doesn’t matter in this case because your daemon won’t inherit privileges from launchd.

What is DDD?

The name of your daemon.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
I have the *.plist files in ~/Library/LaunchAgents. When I try dragging and dropping the files in Files and Folders or Full Disk Access, nothing happens. Is there some other way to set their permissions?

I have the *.plist files in ~/Library/LaunchAgents.

So, to be clear, you’re creating an agent not a daemon?

Is this part of a product? Or just something that you’re deploying internally?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
Yes, sorry for the confusion. This is going to be used both internally and deployed in product.

I ran into NFS issues from a launchd daemon a few months back. Seems that Catalina forward handles NFS differently. Here's the note I made to myself for future reference. Hopefully it will be of some help. This did solve my issue.

NOTE:  Pre-Catalina, a base export path like /Path/to/myFolder works as expected. But in Catalina, the base path to folders now start at /System/Volumes/Data. This is due to major file system changes in Catalina involving APFS, virtual volumes, etc. So now what was /Path/to/myFolder should be exported as /System/Volumes/Data/Path/to/myFolder.

--Barry

Was this ever resolved? I am currently running into the same issue.

No, I haven't solved the issue.

launchd NFS access
 
 
Q