maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   driftnet permission denied (https://talk.maemo.org/showthread.php?t=88829)

gibman 2013-01-27 23:16

driftnet permission denied
 
run driftnet in n900 as root and get permission denied. I have searched online and found nothing. (driftnet is already chmod x)

amirulrb 2014-06-19 23:23

Re: driftnet permission denied
 
Quote:

Originally Posted by gibman (Post 1318269)
run driftnet in n900 as root and get permission denied. I have searched online and found nothing. (driftnet is already chmod x)

i got the same problem..have a fix yet?

Sohil876 2014-06-20 12:52

Re: driftnet permission denied
 
Quote:

Originally Posted by gibman (Post 1318269)
run driftnet in n900 as root and get permission denied. I have searched online and found nothing. (driftnet is already chmod x)


Quote:

Originally Posted by amirulrb (Post 1430283)
i got the same problem..have a fix yet?

Yeah if youre executing it by just tryping driftnet you get that error because youre trying to execute a directory. The package in repos have a wrong sysmlink (if not intentional) of a directory /opt/driftnet/ to /usr/bin/driftnet.
It should actually contain a sysmlink of binary /opt/driftnet/driftnet to /usr/bin/driftnet.
But you should be able to use driftnet by typing :
Code:

driftnet/driftnet
But if you dont want to keep typing that instead of just driftnet, removing the original sysmlink :
Code:

rm /usr/bin/driftnet
And doing a sysmlink of binary :
Code:

ln -s /opt/driftnet/driftnet /usr/bin/driftnet
should make it work, you should then be able to use it by just typing driftnet.


All times are GMT. The time now is 21:15.

vBulletin® Version 3.8.8