[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wireshark-users
Subject:    Re: [Wireshark-users] tcpdump -z bzip2/gzip permission denied
From:       Zaki Akhmad <zakiakhmad () gmail ! com>
Date:       2012-02-27 10:33:51
Message-ID: CAE7Ck-QqcGqx-Jske6MM5nEqYkivjZGaqQcs21E1frrhvLO4bw () mail ! gmail ! com
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic