Support Questions

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

NiFi: ExecuteStreamCommand

avatar
Explorer

Hi All,

I have a requirement to move the files to archive folder once rest of the processors completed so add executestreamcommand as a last component and calling a shell script to move the file to archive folder.

 

Though script runs from backend it's failing with  "permissions denied " error. Any idea what could be the issue here?

Also is there a way I know what user it is using to run the script.

Appreciate your support on it.

Thanks,

Kumar

1 REPLY 1

avatar
Contributor

Hi,


nifi user will run this. If you saving a keytab to a folder to which nifi user has the read access, you can use kinit in bash to initialize an another user.

 

BR,

Gabor