Merge abstraction changes from Simon Dezial:

- Add missing applications/ directory read access rules
  - Adapt paths for python 3.{3,4}, coalescing some rules, and
    remove unneeded rule
This commit is contained in:
Steve Beattie 2014-02-21 12:58:05 -08:00
commit 72fa616362
3 changed files with 12 additions and 12 deletions

View file

@ -30,6 +30,7 @@
owner @{HOME}/.recently-used.xbel* rw,
owner @{HOME}/.local/share/recently-used.xbel* rw,
owner @{HOME}/.config/user-dirs.dirs r,
owner @{HOME}/.local/share/applications/ r,
owner @{HOME}/.local/share/applications/*.desktop r,
owner @{HOME}/.local/share/applications/defaults.list r,
owner @{HOME}/.local/share/applications/mimeapps.list r,

View file

@ -21,6 +21,7 @@
/etc/gtk/* r,
/usr/lib{,32,64}/gtk/** mr,
/usr/lib/@{multiarch}/gtk/** mr,
/usr/share/themes/ r,
/usr/share/themes/** r,
# for gnome 1 applications
@ -82,4 +83,5 @@
# mime-types
/etc/gnome/defaults.list r,
/usr/share/gnome/applications/ r,
/usr/share/gnome/applications/mimeinfo.cache r,

View file

@ -10,18 +10,18 @@
#
# ------------------------------------------------------------------
/usr/lib{,32,64}/python2.[4567]/**.{pyc,so} mr,
/usr/lib{,32,64}/python2.[4567]/**.{egg,py,pth} r,
/usr/lib{,32,64}/python2.[4567]/{site,dist}-packages/ r,
/usr/lib{,32,64}/python3.[234]/lib-dynload/*.so mr,
/usr/lib{,32,64}/python{2,3}.[34567]/**.{pyc,so} mr,
/usr/lib{,32,64}/python{2,3}.[34567]/**.{egg,py,pth} r,
/usr/lib{,32,64}/python{2,3}.[34567]/{site,dist}-packages/ r,
/usr/lib{,32,64}/python3.[234]/lib-dynload/*.so mr,
/usr/local/lib{,32,64}/python2.[4567]/**.{pyc,so} mr,
/usr/local/lib{,32,64}/python2.[4567]/**.{egg,py,pth} r,
/usr/local/lib{,32,64}/python2.[4567]/{site,dist}-packages/ r,
/usr/local/lib{,32,64}/python3.[234]/lib-dynload/*.so mr,
/usr/local/lib{,32,64}/python{2,3}.[34567]/**.{pyc,so} mr,
/usr/local/lib{,32,64}/python{2,3}.[34567]/**.{egg,py,pth} r,
/usr/local/lib{,32,64}/python{2,3}.[34567]/{site,dist}-packages/ r,
/usr/local/lib{,32,64}/python3.[234]/lib-dynload/*.so mr,
# Site-wide configuration
/etc/python2.[4567]/** r,
/etc/python{2,3}.[34567]/** r,
# shared python paths
/usr/share/{pyshared,pycentral,python-support}/** r,
@ -35,6 +35,3 @@
# python build configuration and headers
/usr/include/python{2,3}.[0-7]*/pyconfig.h r,
# python setup script used by apport
/etc/python{2,3}.[0-7]*/sitecustomize.py r,