Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-21-2007, 07:54 PM   #1
Registered: Feb 2007
Posts: 80

Rep: Reputation: 15
Problem with Running a Program

I have an executable program (myprog) which works well on 2 Linux machines of my friend. The program is a general code and there is no license for it. However, it does not work on my computer (Linux SuSE). When I run it (myprog), the message is:

bash: ./myprog: Permission denied

I tried to run it as:

~> myprog
~> ./myprog

Neither of them worked.

Any idea what might be wrong here?

Old 05-21-2007, 08:06 PM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,124

Rep: Reputation: 164Reputation: 164
Have you looked at the permissions of the file by running ls -l ~/myprog Are the executable bits set?

Also, is your home directory on a partition that is mounted with the noexec option?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem running a multicast ntwk program!! vishamr2000 Programming 2 01-29-2009 04:47 AM
Problem running C++ program in Linux Shell Alkibiades Programming 17 10-28-2006 07:51 AM
Having Problem with Running a Program in RH linux 8.0 cheenaik Linux - Software 18 06-03-2006 08:41 AM
display problem while running C program using openGL library narendramandiwalmca Linux - Software 3 06-15-2005 04:49 PM
problem running program as user FlAWD Linux - General 1 10-15-2003 08:31 AM

All times are GMT -5. The time now is 05:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration