Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

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
add comment

1 Answer 1

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

share|improve this answer
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.