apparmor/profiles/apparmor.d/abstractions/xdg-desktop
Jamie Strandboge 45e7265c82 Create an xdg-desktop abstraction based on the upstream documentation for
creating owner writes on things like ~/.cache and ~/.config

Acked-by: Jamie Strandboge <jamie@canonical.com>
Acked-By: Steve Beattie <sbeattie@ubuntu.com>
2012-01-11 13:00:34 +01:00

24 lines
673 B
Text

# vim:syntax=apparmor
# ------------------------------------------------------------------
#
# Copyright (C) 2012 Canonical Ltd.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License published by the Free Software Foundation.
#
# ------------------------------------------------------------------
# Entries based on:
# http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
owner @{HOME}/.cache/ rw,
owner @{HOME}/.config/ rw,
owner @{HOME}/.local/ rw,
owner @{HOME}/.local/share/ rw,
# fallbacks
/usr/share/ r,
/usr/local/share/ r,