CaffeineAddict
Well-Known Member
I installed
The
Obviously it doesn't have permissions to read
The question is what permissions should I give it and how?
One option is to change
Maybe there is a way to run
What suggestions do you have to fix this?
aa-notify
program which provides desktop notification for apparmor violations, it was installed as part of apparmor-notify package:The apparmor-notify package provides desktop notifications (through aa-notify) when a policy violation occurs. The program should start automatically when you login.
AppArmor/HowToUse - Debian Wiki
wiki.debian.org
The
aa-notify
starts fine on login however it does not give any desktop notifications, I checked the /var/log/syslog
to see why and here is why:
C-like:
aa-notify[1802]: ERROR: Cannot read /var/log/kern.log. Please check permissions.
Obviously it doesn't have permissions to read
kern.log
, the permissions are as follows:
Bash:
ls -l /var/log/kern.log
-rw-r----- 1 root adm 920712 kol 21 19:58 /var/log/kern.log
The question is what permissions should I give it and how?
One option is to change
kern.log
permissions but this is potential security trouble, I'd prefer to figure out to which group doesaa-notify
belong and under which username does it run, then it should be easier to change permissions.Maybe there is a way to run
aa-notify
under adm
group?What suggestions do you have to fix this?