Permission Denied Error in Linux Terminal
26,472
You should be using sudo
to run that.
Run this command inside the directory which contains the file you want to run.
sudo ./INSTALL.sh
If sudo
ins't enabled, you can run su -c ./INSTALL.sh
Related videos on Youtube
Author by
slhck
Updated on September 18, 2022Comments
-
slhck over 1 year
I am getting a
Permission denied
error while executing thesh INSTALL.sh
command in my Linux terminal.Can any one suggest me how to solve this problem? I getting this error while am installing 94 POS Software.
The piece of code is
INSTALL.sh: line 75: toolchain/INSTALL: Permission denied
INSTALL.sh: line 76: download/INSTALL.sh: Permission denied
INSTALL.sh: line 85: export: /usr/local/arm-
linux/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/manohar/bin': not a valid identifier-
Admin almost 13 yearsThis isn't a programming question, please read the faq: stackoverflow.com/faq
-
Admin almost 13 yearsThis will probably do you more harm than good, but try
sudo ./INSTALL.sh
. -
mhitza almost 13 yearsBy default sudo isn't enabled, try
su -c 'INSTALL.sh'
. It will ask your password.
-
-
slhck almost 13 yearsAlso, this needs
INSTALL.sh
to have execute permissions. If it doesn't work, you'd need to runsudo chmod +x INSTALL.sh
.