Glam Prestige Journal

Bright entertainment trends with youth appeal.

What is the problem in that? I work in xubuntu x86_x64 I get the following error while trying to execute install_bin :

mohamed@mohamed:~/Desktop/installer_v3.0$ ls
batch_installer install_bin installer install.now setup.sh
mohamed@mohamed:~/Desktop/installer_v3.0$ ls -l
total 44
-rw-rw-rw- 1 mohamed mohamed 8533 Jan 24 2013 batch_installer
drwxrwxrwx 13 mohamed mohamed 4096 Feb 9 19:29 install_bin
-rw-rw-rw- 1 mohamed mohamed 9179 Jan 24 2013 installer
-rwxrwxrwx 1 mohamed mohamed 9179 Jan 24 2013 install.now
-rwxrwxrwx 1 mohamed mohamed 497 Jan 24 2013 setup.sh
mohamed@mohamed:~/Desktop/installer_v3.0$ ./setup.sh
/home/mohamed/Desktop/installer_v3.0/installer: Permission denied.
mohamed@mohamed:~/Desktop/installer_v3.0$

3 Answers

I found that you're new to askubuntu. so I will start by jumping to sudo command.

try

sudo sh setup.sh

It should work because your script setup.sh is using installer also

sudo should work but you can do it the other way (correct way - as the other answer by @geirha):

sudo chmod +x installer

and then run your setup.sh as you were trying

./setup.sh
5

The error message is pretty clear at what the error is:

/home/mohamed/Desktop/installer_v3.0/installer: Permission denied.

It's trying to execute the file named installer, but installer doesn't have the execute bit set, as can be seen in the ls -l output.

-rw-rw-rw- 1 mohamed mohamed 9179 Jan 24 2013 installer

so

chmod 755 installer

and try again.

10

Have you tried this:

sudo bash
sudo su
sudo sh /.setup.sh
~/desktop/installer3.0$ ls

and then it might work fine this way.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy