Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

/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
Master 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
Master 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.