Every time has to use this command to read dump using tcpdump "sudo apparmor_parser -R > /etc/apparmor.d/usr.sbin.tcpdump"

Bug #1707714 reported by Mitul
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tcpdump (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

When i try to read file using tcpdump, it says "Permission denied" even though it has all the permission. But if i run this command "sudo apparmor_parser -R > /etc/apparmor.d/usr.sbin.tcpdump", then it reads from file.

Revision history for this message
Seth Arnold (seth-arnold) wrote :

Hello Mitul,

You can check dmesg or /var/log/syslog or /var/log/audit/audit.log for DENIED lines from AppArmor that you can then add to the profile if you wish. What files were you trying to read?

Note that the command line as given here is incorrect; you either re-directed the file /etc/apparmor.d/usr.sbin.tcpdump as input using < or left it off entirely. (Since the shell redirections are handled before sudo executes, probably you left it off entirely.)

Thanks

Changed in tcpdump (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tcpdump (Ubuntu) because there has been no activity for 60 days.]

Changed in tcpdump (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.