Sample Header Ad - 728x90

How to allow an application in AppArmor?

0 votes
1 answer
312 views
I am using redshift, which has support for custom shell scripts in hooks when certain events happen. However, these hooks are not executed because of AppArmor: [11541.395814] audit: type=1400 audit(1696093800.648:39): apparmor="DENIED" operation="exec" profile="/usr/bin/redshift" name="/home/philipp/.config/redshift/hooks/test-hook" pid=15384 comm="redshift" requested_mask="x" denied_mask="x" fsuid=1000 ouid=1000 How can I make this work? I searched online, but did not find a satisfying, simple solution. I am only using AppArmor because it is installed by default in Debian. If the best solution is to uninstall it, that’s fine with me.
Asked by Philipp Ludwig (412 rep)
Sep 30, 2023, 05:52 PM
Last activity: Oct 1, 2023, 06:30 PM