PDA

View Full Version : [SOLVED] Permission denied



Jompa
September 30th, 2009, 09:27 AM
I'm trying to install a program but have problem with not getting permission when I try starting the setup file in the terminal. I get this message:

jonpeder@jonpeder-laptop:~$ cd /home/jonpeder/Spss_17_Linux/
jonpeder@jonpeder-laptop:~/Spss_17_Linux$ ./setup.bin
bash: ./setup.bin: Permission denied

What can I do to get permission? I have tried to use SUDO, but it doesn't seem to do anything.

Waappu
September 30th, 2009, 09:33 AM
Hi,

Try

cd /home/jonpeder/Spss_17_Linux/
sudo chmod a+w setup.bin
sudo ./setup.bin

atomizer
September 30th, 2009, 09:40 AM
Is the file executable?


else you have to do
sudo chmod +x /path/to/file
( +x makes the file executable)
After this command you should be able to execute your file.

Jompa
September 30th, 2009, 11:29 AM
I hadn't made the file executable, but after doing thet it worked, thanks :)