freedesktop

This commit is contained in:
nobody43 2023-02-25 18:44:21 +00:00 committed by Alex
parent 491d2176a8
commit 8c0e0a9de1
90 changed files with 48 additions and 137 deletions

View file

@ -26,7 +26,6 @@ profile polkit-mate-authentication-agent @{exec_path} {
/{usr/,}lib/polkit-[0-9]/polkit-agent-helper-[0-9] rPx,
/usr/share/glib-2.0/schemas/gschemas.compiled r,
/usr/share/X11/xkb/** r,
/var/lib/dbus/machine-id r,

View file

@ -114,7 +114,6 @@ profile pulseaudio @{exec_path} {
/{usr/,}lib/@{multiarch}/pulse/gconf-helper mrix,
/{usr/,}lib/pulse-*/modules/*.so mr,
/usr/share/glib-2.0/schemas/gschemas.compiled r,
/usr/share/pulseaudio/{,**} r,
/var/lib/snapd/desktop/applications/ r,

View file

@ -118,7 +118,6 @@ profile xdg-desktop-portal @{exec_path} flags=(attach_disconnected) {
/ r,
/.flatpak-info r,
/usr/share/glib-2.0/schemas/gschemas.compiled r,
/usr/share/pipewire/client.conf r,
/usr/share/xdg-desktop-portal/portals/{,*.portal} r,

View file

@ -115,12 +115,8 @@ profile xdg-desktop-portal-gnome @{exec_path} {
@{exec_path} mr,
/usr/share/glib-2.0/schemas/gschemas.compiled r,
/usr/share/ubuntu/applications/ r,
/usr/share/X11/xkb/{,**} r,
/etc/gnome/defaults.list r,
/var/cache/gio-[0-9]*.[0-9]*/gnome-mimeapps.list r,
/var/lib/snapd/desktop/icons/{,**} r,

View file

@ -149,7 +149,6 @@ profile xdg-desktop-portal-gtk @{exec_path} {
@{exec_path} mr,
/usr/share/glib-2.0/schemas/gschemas.compiled r,
/usr/share/X11/xkb/{,**} r,
/ r,

View file

@ -33,9 +33,6 @@ profile xdg-mime @{exec_path} flags=(attach_disconnected) {
/{usr/,}bin/xprop rPx,
/usr/share/terminfo/x/xterm-256color r,
/usr/share/ubuntu/applications/ r,
/etc/gnome/defaults.list r,
owner @{HOME}/.Xauthority r,
owner @{user_config_dirs}/mimeapps.list{,.new} rw,

View file

@ -33,12 +33,12 @@ profile xdg-open @{exec_path} flags=(attach_disconnected) {
/{usr/,}bin/dbus-launch rCx -> dbus,
/{usr/,}bin/dbus-send rCx -> dbus,
/usr/share/applications/*.desktop r,
/** r,
owner /** rw,
# freedesktop.org-strict
owner @{user_share_dirs}/applications/ r,
/usr/share/applications/*.desktop r,
/dev/tty rw,

View file

@ -33,9 +33,7 @@ profile xdg-settings @{exec_path} {
/{usr/,}bin/xdg-mime rPx,
/{usr/,}bin/xprop rPx,
/usr/share/applications/{,*} r,
/usr/share/terminfo/x/xterm-256color r,
/usr/share/ubuntu/applications/ r,
/etc/xdg/xfce4/helpers.rc r,
/etc/machine-id r,
@ -44,14 +42,17 @@ profile xdg-settings @{exec_path} {
/var/lib/flatpak/exports/share/applications/{,*} r,
/var/lib/snapd/desktop/applications/{,*} r,
# freedesktop.org-strict
/usr/share/applications/{,*} r,
/usr/share/ubuntu/applications/ r,
owner @{user_share_dirs}/applications/ r,
owner @{user_share_dirs}/applications/*.desktop r,
owner @{HOME}/ r,
owner @{HOME}/.Xauthority r,
owner @{user_config_dirs}/xfce4/helpers.rc{,.*} rw,
owner @{user_share_dirs}/applications/ r,
owner @{user_share_dirs}/applications/*.desktop r,
owner @{run}/user/@{uid}/ r,
owner @{PROC}/@{pid}/fd/ r,