Skip to content

Commit

Permalink
cmd/snap-confine: allow mounting of fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
jhenstridge committed Sep 14, 2017
1 parent ff3c33e commit cb60ba4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/snap-confine/snap-confine.apparmor.in
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,10 @@
audit deny mount /** -> /snap/bin/**,
# Allow the content interface to bind fonts from the host filesystem
mount options=(ro bind) /var/lib/snapd/hostfs/usr/share/fonts/ -> /snap/*/*/**,
# Allow the desktop interface to bind fonts from the host filesystem
mount options=(ro bind) /var/lib/snapd/hostfs/usr/share/fonts -> /usr/share/fonts,
mount options=(ro bind) /var/lib/snapd/hostfs/usr/local/share/fonts -> /usr/local/share/fonts,
mount options=(ro bind) /var/lib/snapd/hostfs/var/cache/fontconfig -> /var/cache/fontconfig,

# nvidia handling, glob needs /usr/** and the launcher must be
# able to bind mount the nvidia dir
Expand Down

0 comments on commit cb60ba4

Please sign in to comment.