Add rules for xdg-* profiles.

This commit is contained in:
Alexandre Pujol 2021-04-01 23:54:41 +01:00
parent 6044e403e7
commit c35f793ba1
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
4 changed files with 11 additions and 1 deletions

View file

@ -25,6 +25,7 @@ profile xdg-mime @{exec_path} {
/{usr/,}bin/sed rix,
/{usr/,}bin/uname rix,
/{usr/,}bin/file rix,
/{usr/,}bin/tr rix,
/{usr/,}bin/mimetype rPx,
/{usr/,}bin/xprop rPx,
@ -46,6 +47,8 @@ profile xdg-mime @{exec_path} {
owner @{run}/user/[0-9]*/ r,
/dev/tty rw,
# For shell pwd
owner @{HOME}/ r,