0

I am getting a Permission denied error while executing the sh 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

migrated from stackoverflow.com Jul 14 '11 at 12:23

This question came from our site for professional and enthusiast programmers.

  • This isn't a programming question, please read the faq: stackoverflow.com/faq – marto Jul 14 '11 at 12:07
  • 1
    This will probably do you more harm than good, but try sudo ./INSTALL.sh. – cnicutar Jul 14 '11 at 12:07
  • By default sudo isn't enabled, try su -c 'INSTALL.sh'. It will ask your password. – mhitza Jul 14 '11 at 12:11
3

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

  • 2
    Also, this needs INSTALL.sh to have execute permissions. If it doesn't work, you'd need to run sudo chmod +x INSTALL.sh. – slhck Jul 14 '11 at 12:59

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.