- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Permission Denied in Execute Stream Command Nifi
- Labels:
-
Apache NiFi
Created 02-01-2024 05:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created 02-02-2024 12:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any feedback would be appreciated.
Created 02-02-2024 01:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Kiranq
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,
Matt
