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
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.
To post a comment you must log in.
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