paulbsd-salt/states/apparmor/usr.bin.spotify.j2

24 lines
572 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
#include <tunables/global>
/usr/bin/spotify {
#include <abstractions/base>
#include <abstractions/fonts>
#include <abstractions/kde>
#include <abstractions/nameservice>
/etc/xdg/Trolltech.conf rk,
/etc/xdg/sni-qt.conf r,
/usr/share/icons/*.theme k,
/usr/share/spotify/theme/**.{png,ico} r,
/usr/share/spotify/theme/**.{splang,xml} r,
owner @{PROC}/[0-9]*/task/ r,
owner @{HOME}/.cache/spotify/ rw,
owner @{HOME}/.cache/spotify/** rw,
owner @{HOME}/.config/Trolltech.conf rw,
owner @{HOME}/.config/spotify/ w,
owner @{HOME}/Music/** r,
}