Failed to open create file with "Operation not permitted" error as part of network extension

HI,
I have a Content Filter Network extension program to filter the network data. I am using API in C++ library with bridge header for internal purpose. As part of the of C++ library API, I am trying to create new file But It is failed to open with "Operation not permitted" error.

How to fix this. Please help me.
Answered by nagendrar in 646159022
SOLVED -Network extension is allowed to open the file after I turned off the App Sandbox.
Accepted Answer
SOLVED -Network extension is allowed to open the file after I turned off the App Sandbox.
Be aware that disabling a Sandbox for your Network System Extension or it's container app is not compatible with deploying via Developer ID or through the Mac App Store. A Network System Extension needs to have a Sandbox. Having said that, if you need to work with files outside of you Sandbox, then this is something that can be done from the container app using one of the standard mechanisms for accessing a file outside it's container.


Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com
Failed to open create file with "Operation not permitted" error as part of network extension
 
 
Q