Commit 629a9f9e authored by Christian Boltz's avatar Christian Boltz Committed by Sandro Knauß
Browse files

Add openSUSE paths to postgresql AppArmor profile

parent b6739037
......@@ -2,7 +2,7 @@
@{xdg_data_home}=@{HOME}/.local/share
@{postgresqlpath} = /usr/ /usr/lib/postgresql/*/ /opt/pgsql*/
@{postgresqlpath} = /usr/ /usr/lib/postgresql/*/ /usr/lib/postgresql*[0-9]/ /opt/pgsql*/
profile postgresql_akonadi {
#include <abstractions/base>
......@@ -24,6 +24,7 @@ profile postgresql_akonadi {
@{postgresqlpath}/bin/pg_ctl mrix,
@{postgresqlpath}/bin/postgres mrix,
/usr/share/postgresql/** r,
/usr/share/postgresql*[0-9]/timezonesets/Default r,
owner /dev/shm/PostgreSQL.* rw,
owner @{xdg_data_home}/akonadi/** rwlk,
owner @{xdg_data_home}/akonadi/db_data/** l,
......
......@@ -4,7 +4,7 @@
@{xdg_config_home}=@{HOME}/.config
@{postgresqlpath} = /usr/ /usr/lib/postgresql/*/ /opt/pgsql*/
@{postgresqlpath} = /usr/ /usr/lib/postgresql/*/ /usr/lib/postgresql*[0-9]/ /opt/pgsql*/
/usr/bin/akonadiserver {
#include <abstractions/base>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment