summaryrefslogtreecommitdiff
path: root/usr.share.spotify.spotify
blob: bc354bf4dcabb41827c0b661f4c80f430c22ae4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#include <tunables/global>

/usr/share/spotify/spotify {
  #include <abstractions/audio>
  #include <abstractions/base>
  #include <abstractions/fonts>
  #include <abstractions/nameservice>
  #include <abstractions/user-tmp>
  #include <abstractions/freedesktop.org>
  #include <abstractions/X>

  /usr/share/spotify/** rmix,

  /bin/dash rix,
  /usr/bin/zenity rix,
  /usr/share/glib-2.0/schemas/gschemas.compiled r,

  owner @{HOME}/.cache/spotify/ rw,
  owner @{HOME}/.cache/spotify/** rwk,
  owner @{HOME}/.config/spotify/ rw,
  owner @{HOME}/.config/spotify/** rw,
  owner @{HOME}/.local/share/spotify/ rw,
  owner @{HOME}/.local/share/spotify/** rw,

  owner @{HOME}/Musik/ r,
  owner @{HOME}/Musik/** r,

  @{PROC}/ r,
  @{PROC}/@{pid}/fd/ r,
  @{PROC}/@{pid}/auxv r,
  @{PROC}/@{pid}/task/ r,
  @{PROC}/@{pid}/task/@{pid}/stat r,
  @{PROC}/@{pid}/status r,
  @{PROC}/sys/kernel/shmmax r,
  /sys/bus/pci/devices/ r,
  /sys/devices/** r,
  /dev/dri/ r,

  owner /{dev,run}/shm/.org.chromium.* mrw,
}