Randall8686 Posted February 18, 2019 Share Posted February 18, 2019 (edited) Hi all I am trying to run some bits in the terminal but when i try to run /mnt/user/Folder/XYZ.sh i get permission denied, can anyone help? should probably add that im logged in as root Edited February 18, 2019 by Randall8686 Quote Link to comment
Squid Posted February 18, 2019 Share Posted February 18, 2019 Executable permission not set on the script? Quote Link to comment
trurl Posted February 18, 2019 Share Posted February 18, 2019 1 hour ago, Randall8686 said: should probably add that im logged in as root It would only be necessary to add if you were NOT logged in as root since normally root is the only user with access to the command line. Quote Link to comment
lotetreemedia Posted February 18, 2019 Share Posted February 18, 2019 36 minutes ago, Squid said: Executable permission not set on the script? I have a feeling this is the answer. Just in case you're not sure how to: cd /mnt/user/Folder chmod +x XYZ.sh You can then execute the file with: ./XYZ.sh 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.