Public bug reported:

Binary package hint: wireshark-common

dumpcap from wireshark-common (wireshark 1.07 release) will not write
its output to ~/ (with sudo).

$ sudo dumpcap -i eth0 -w ~/test1.cap
The file to which the capture would be saved ("/home/sune/test.cap") could not 
be opened: Permission denied.

whereas

sudo dumpcap -i eth0  -w /tmp/test1.cap
File: /tmp/test.cap
Packets: 3 
....

or even

sudo dumpcap -i eth0  -w /home/test3.cap
File: /tmp/test.cap
Packets: 3 

work fine!

(sudo is needed for packet capturing, so it does not make sense to
invoke dumpcap as a normal user.)


I can replicate this issue on three different ubuntu 9.04 installations (server 
x86, desktop x86, desktop x64).

Hope you can take a look at this, thank!

/Sune

** Affects: wireshark (Ubuntu)
     Importance: Undecided
         Status: New

-- 
sudo dumpcap will not write output files to ~/
https://bugs.launchpad.net/bugs/389467
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to