mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00
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:
parent
a33c5822a9
commit
45e7265c82
1 changed files with 24 additions and 0 deletions
24
profiles/apparmor.d/abstractions/xdg-desktop
Normal file
24
profiles/apparmor.d/abstractions/xdg-desktop
Normal 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,
|
Loading…
Add table
Reference in a new issue