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>
This commit is contained in:
Jamie Strandboge 2012-01-11 13:00:34 +01:00
parent a33c5822a9
commit 45e7265c82

View file

@ -0,0 +1,24 @@
# 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,