FAQ: I tried to run a spark shell script and got a "Permission denied" error message

Dan_Pryer
Dan_Pryer Posts: 1,728 QUANTEXA TEAM
edited April 22 in Academy

FAQ relevant for: all Academy versions

If you try to run one of your scripts on your Academy VDI and encounter an error saying Permission denied then there is an easy fix for this.

permission denied.JPG

Firstly, you need to open up the Dolphin file explorer and locate the script - this can be done easily in IntelliJ by right clicking on the folder that contains the script and clicking "Open In -> Dolphin".

Next we just need to right click the script file and select "Properties" -> "Permissions" tab, then make sure the "Is executable" box is checked.

permissions.JPG

Alternative Method:

Another way you can make the script executable is by running chmod +x <scriptname> in the terminal!

Dan Pryer - Senior Engineer

R&D - Decision Systems / Detection Packs

Did my reply answer your question? Then why not mark it as having answered in the bottom right corner of my post! 😁

Tagged:
User Profiles
Academy Topic Owners
Feel free to ask our Topic Owners a question on all things related to our Academy
Academy Team Lead
Academy Team Lead
Academy Team Lead
Academy Q&A