Support Questions

Find answers, ask questions, and share your expertise
Celebrating as our community reaches 100,000 members! Thank you!

Permission Denied in Execute Stream Command Nifi

Rising Star

I am trying to access a .py file present in one of the docker container and I am using execute stream command processor for it. However, I am receiving "Permission Denied" error on the .py file. 



Even though, the file has all the rights given but still facing this issue. Any feedback will be appreciate. Thanks. 




Rising Star

Any feedback would be appreciated. 

Super Mentor

all components (processors, controller services, reporting tasks, etc) execute as teh user that owns the running NiFi service.  So that NiFi service user would need to be able to execute the local system command.  The user who authenticates themselves to access the NiFi UI is not the user used to run the components.

Have you tried as the NiFi service user to execute your python code from command line?

If you found any of the suggestions/solutions provided helped you with your issue, please take a moment to login and click "Accept as Solution" on one or more of them that helped.

Thank you,