Wireshark mailing list archives

Re: tcpdump -z bzip2/gzip permission denied


From: Zaki Akhmad <zakiakhmad () gmail com>
Date: Mon, 27 Feb 2012 17:33:51 +0700

On Fri, Feb 24, 2012 at 2:23 PM, Zaki Akhmad <zakiakhmad () gmail com> wrote:

compress_savefile:execlp(bzip2,
/home/za/tools/tcpdump/rr/packet_20120224.1420.pcap): Permission
denied
compress_savefile:execlp(bzip2,
/home/za/tools/tcpdump/rr/packet_20120224.1420.pcap): Permission
denied
compress_savefile:execlp(bzip2,
/home/za/tools/tcpdump/rr/packet_20120224.1420.pcap): Permission
denied

What's wrong?

The problem is solved now :-)

I guess this problem is specific at Ubuntu because of the apparmor
configuration. Previously, I run -z option at Debian and it works
without have to change its configuration.

See the tcpdump apparmor configuration
# grep tcpdump /sys/kernel/security/apparmor/profiles
/usr/sbin/tcpdump (enforce)

Change it to complain mode
# aa-complain /usr/sbin/tcpdump
Setting /usr/sbin/tcpdump to complain mode.

Reference:
http://ubuntuforums.org/showthread.php?t=1501339

-- 
Zaki Akhmad
___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
             mailto:wireshark-users-request () wireshark org?subject=unsubscribe


Current thread: