bash ./waf : permission denied

3,571 views
Skip to first unread message

EinCode

unread,
Aug 6, 2011, 2:16:20 PM8/6/11
to ns-3-users
Hello All,

I have installed ns3.11 in Ubuntu 11. But when I am trying to build
any example program I am getting error as shown:

bash ./waf : permission denied.

Please help me in solving this error.

Thanking you.

Regards
Eincode

Mohamed lahby

unread,
Aug 6, 2011, 6:40:40 PM8/6/11
to ns-3-...@googlegroups.com
hi
i think that you must connect with root count


2011/8/6 EinCode <hell...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.




--
------------------------------------------------------------------------------------------------------------------------------------------------
LAHBY MOHAMED
Doctorant
Laboratoire  LI@M.
Université Hassan II Mohammedia-Casablanca
Faculté des Sciences et Techniques Mohammedia,
GSM : +212 6 65 29 23 76
E-mail : mla...@gmail.com

scolfield

unread,
Aug 6, 2011, 6:59:47 PM8/6/11
to ns-3-...@googlegroups.com
Hi,

Check the owner of your "installed" ns-3. 
Verify if is the same user, i.e., are you owner of your ns-3?

Vedran Miletić

unread,
Aug 6, 2011, 7:24:30 PM8/6/11
to ns-3-...@googlegroups.com
2011/8/6 EinCode <hell...@gmail.com>:

You're probably missing an executable flag. chmod +x will do the trick.

Regards,

Vedran

Ankit Behura

unread,
Apr 19, 2013, 6:14:50 AM4/19/13
to ns-3-...@googlegroups.com
Hi,
I had the same issue, while trying to install it. Try installing NS3 in the home folder (A "repos" folder) than any other folder (Desktop in my case).

Tanvi Agrawal

unread,
Aug 7, 2013, 6:50:05 AM8/7/13
to ns-3-...@googlegroups.com
Hello All,

I have installed ns3.17 in Ubuntu 12.04 But when i try to run an example file by using waf --run command it is showing following threat.I have got my installation in home directory.

bash ./waf : permission denied.


Thanking you.

On Saturday, August 6, 2011 11:46:20 PM UTC+5:30, EinCode wrote:

Anh Tuan Mai

unread,
Apr 2, 2014, 5:33:27 AM4/2/14
to ns-3-...@googlegroups.com
Hello,

I had the same problem. And here is my tips:
1. Open the directory of ns-3.
2. Right-click on "waf" file > Properties > Permissions > Tick on "Execution: Allow to..."

I met this problem when i download a version ns3 by the google's source.
I have launched the version ns3 on githut without any changes.

Good lucks.
Reply all
Reply to author
Forward
0 new messages