apport information
** Tags added: apport-collected natty
** Description changed:
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 ~/test.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/test.cap
File: /tmp/test.cap
Packets: 3
....
or even
sudo dumpcap -i eth0 -w /home/test.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
+ ---
+ Architecture: amd64
+ DistroRelease: Ubuntu 11.04
+ NonfreeKernelModules: nvidia
+ Package: wireshark 1.4.6-1
+ PackageArchitecture: amd64
+ ProcEnviron:
+ LANGUAGE=en_US:en
+ PATH=(custom, no user)
+ LANG=en_US.UTF-8
+ SHELL=/bin/bash
+ ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
+ Tags: natty
+ Uname: Linux 2.6.38-8-generic x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups:
** Attachment added: "Dependencies.txt"
https://bugs.launchpad.net/bugs/389467/+attachment/2167077/+files/Dependencies.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/389467
Title:
sudo dumpcap will not write output files to ~/
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wireshark/+bug/389467/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs