[apparmor] [PATCH 0/2] Preliminary XDG user dir support

Jamie Strandboge jamie at canonical.com
Fri Feb 14 21:37:08 UTC 2014


Erf, this was supposed to be:
Subject: [apparmor] [PATCH 1/2] Preliminary XDG user dir support

On 02/14/2014 03:35 PM, Jamie Strandboge wrote:
> 
> Add basic support for XDG user dirs:
> 
> 1. Update profiles/apparmor.d/tunables/global to include xdg-user-dirs.
> 2. Create the xdg-user-dirs tunable using the default 'C' xdg-user-dirs values:
> $ cat profiles/apparmor.d/tunables/xdg-user-dirs
> # Define the common set of XDG user directories (usually defined in
> # /etc/xdg/user-dirs.defaults)
> @{XDG_DESKTOP_DIR}="Desktop"
> @{XDG_DOWNLOAD_DIR}="Downloads"
> @{XDG_TEMPLATES_DIR}="Templates"
> @{XDG_PUBLICSHARE_DIR}="Public"
> @{XDG_DOCUMENTS_DIR}="Documents"
> @{XDG_MUSIC_DIR}="Music"
> @{XDG_PICTURES_DIR}="Pictures"
> @{XDG_VIDEOS_DIR}="Videos"
> 
> # Also, include files in tunables/xdg-user-dirs.d for site-specific adjustments
> # to the various XDG directories
> #include <tunables/xdg-user-dirs.d>
> 
> 3. Add profiles/apparmor.d/tunables/xdg-user-dirs.d/site.local with commented
> out examples on how to use the directory.



-- 
Jamie Strandboge                 http://www.ubuntu.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20140214/6b8e351e/attachment-0001.pgp>


More information about the AppArmor mailing list