feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2024-04-28 13:50:48 +01:00
parent e44b0613c7
commit 65d0cfafe4
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
54 changed files with 169 additions and 107 deletions

View file

@ -7,7 +7,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/update-mime-database
profile update-mime-database @{exec_path} {
profile update-mime-database @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/consoles>
include <abstractions/nameservice-strict>
@ -17,9 +17,13 @@ profile update-mime-database @{exec_path} {
@{exec_path} mr,
/usr/share/mime/{,**} rw,
@{system_share_dirs}/mime/{,**} rw,
/dev/tty@{int} rw,
/var/lib/flatpak/app/**.xml r,
owner @{user_share_dirs}/mime/{,**} rw,
/dev/tty@{int} rw,
owner /dev/pts/@{int} rw,
# Inherit silencer

View file

@ -31,6 +31,7 @@ profile xdg-permission-store @{exec_path} flags=(attach_disconnected) {
owner @{user_share_dirs}/flatpak/db/ rw,
owner @{user_share_dirs}/flatpak/db/.goutputstream-@{rand6} rw,
owner @{user_share_dirs}/flatpak/db/background rw,
owner @{user_share_dirs}/flatpak/db/devices r,
owner @{user_share_dirs}/flatpak/db/notifications rw,
/dev/tty@{int} rw,