Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


Closed Thread
  Search this Thread
Old 07-16-2012, 09:21 AM   #1
Registered: May 2012
Posts: 30

Rep: Reputation: Disabled
Question permission denied when running program

i use the TraNSv1.2. The installation is correct. when i run the program the permission denied message is appeared!!!!!

i log in as root but the problem is not solved

Do you help me please?


the error is
Quote: Cannot run program "/home/nadia/work/ns-allinone-2.35/ns-2.35": error=13, Permission denied
Old 07-16-2012, 11:22 AM   #2
LQ Newbie
Registered: May 2004
Location: Beaverton, OR
Distribution: Fedora Core 2
Posts: 7

Rep: Reputation: 0
if root doesn't have permission then it's likely the execute bit(s) are not set.
ls -l /home/nadia/work/ns-allinone-2.35/ns-2.35
and post the results.
What is TraNS?
Old 07-16-2012, 12:48 PM   #3
LQ Newbie
Registered: Mar 2007
Posts: 14

Rep: Reputation: 0
set permissions

Try setting the permissions on that program to 777 - as root, chmod 777 </PATH/program name>. If that works you can then change permissions, later, to suit your environment better.

Old 07-16-2012, 02:30 PM   #4
Senior Member
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,616

Rep: Reputation: 487Reputation: 487Reputation: 487Reputation: 487Reputation: 487
no need to go so crazy loose with permissions. a simple chmod +x /path/to/foo will do.
Old 07-16-2012, 04:08 PM   #5
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,042
Blog Entries: 11

Rep: Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Closed Thread

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Permission denied when compiling C program mominmyheart Programming 9 12-02-2009 05:08 PM
Unable to run program, Permission denied smartgupta Solaris / OpenSolaris 3 08-11-2009 01:49 AM
Permission denied after running xwmconfig AtomicAmish Slackware 14 02-14-2008 08:43 AM
bash: ./program: permission denied Cinematography Linux - General 3 10-01-2007 08:18 PM
Permission Denied when running a program? tolvar Linux - Newbie 1 09-07-2005 08:18 AM

All times are GMT -5. The time now is 11:47 AM.

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