jack-ullery / AppAnvil

Graphical user interface for the AppArmor security module (in-progress)
GNU General Public License v3.0
14 stars 12 forks source link

Configurable pkexec #59

Closed jack-ullery closed 1 year ago

jack-ullery commented 1 year ago

Previously, there has been an issue where the pkexec policy would not apply to some builds. The default CMake install prefix is /usr/local. However, the pkexec policy would only apply if the build prefix was changed to /usr.

I modified the policy file to be configured automatically by CMake, so that the it will always point to the correct aa-caller binary when installed.