bash: ./executablefile: Permission denied

Asked by YungUser on 2011-04-23

I type in
root@ubuntu:/home/meghan/Desktop/prac8hw3# ./prac8hw3

And then I get
-bash: ./prac8hw3: Permission denied

How do I solve this?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu bash Edit question
Assignee:
No assignee Edit question
Solved by:
YungUser
Solved:
2011-04-23
Last query:
2011-04-23
Last reply:
2011-04-23

chmod +x ./prac8hw3; ./prac8hw3

Will run it. I don't suggest you work in your users $HOME as root, it may harm ownerships

chmod 700 ./prac8hw3
./prac8hw3

Please don't work always with root user, it is ok if you are installing...

YungUser (megi-vrooyen) said : #3

Ok that helped,
will change the root,
Thank you :-)