Support Questions

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

/root/iot-truck-streaming/stream-simulator/generate.sh Permission denied

avatar
Expert Contributor

59394-nifierr2.png

Hello,

Trying to setup the NiFi dataflow for the HDF tutorial, interested in the Kafka part but as far as i understand i must first complete the NiFi part.

However the ExecuteProcess processor gives 'Permission denied' error for the generate.sh script:

Even though i ve given all permissions to the whole repo:

Any ideas?

59393-nifierr.png

1 ACCEPTED SOLUTION

avatar
Super Mentor
@balalaika

By Default HDF install the NiFi service to run as the "nifi" user. You issue is likely that the nifi user is unable to navigate down that directory tree to the target script.

Try becoming the nifi user (su - nifi) and navigating to the script directory.

Thank you,

Matt

If this answer has addressed your question, please take a moment to click the "accept" link below the answer.

View solution in original post

1 REPLY 1

avatar
Super Mentor
@balalaika

By Default HDF install the NiFi service to run as the "nifi" user. You issue is likely that the nifi user is unable to navigate down that directory tree to the target script.

Try becoming the nifi user (su - nifi) and navigating to the script directory.

Thank you,

Matt

If this answer has addressed your question, please take a moment to click the "accept" link below the answer.