feat: various mount related fixes.

See #152
This commit is contained in:
Alexandre Pujol 2023-04-24 12:27:05 +01:00
parent 1223b70467
commit d224aa4e6a
Failed to generate hash of commit
3 changed files with 10 additions and 10 deletions

View file

@ -14,8 +14,8 @@ profile gnome-shell-hotplug-sniffer @{exec_path} {
/usr/share/mime/mime.cache r,
owner @{MOUNTS}/**/ r,
owner @{MOUNTS}/** r,
@{MOUNTS}/**/ r,
@{MOUNTS}/** r,
include if exists <local/gnome-shell-hotplug-sniffer>
}

View file

@ -69,8 +69,8 @@ profile gvfs-udisks2-volume-monitor @{exec_path} flags=(attach_disconnected) {
/etc/machine-id r,
# Mount points
owner @{MOUNTS}/**/ r,
owner @{HOME}/**/ r,
@{MOUNTS}/**/ r,
@{HOME}/**/ r,
@{run}/mount/utab r,
@{run}/systemd/inhibit/*.ref r,

View file

@ -43,12 +43,12 @@ profile mount @{exec_path} {
/var/lib/snapd/snaps/*.snap r,
# Mount points
@{HOME}/ r,
@{HOME}/*/ r,
@{HOME}/*/*/ r,
@{MOUNTS}/ r,
@{MOUNTS}/*/ r,
@{MOUNTS}/*/*/ r,
@{HOME}/ rw,
@{HOME}/*/ rw,
@{HOME}/*/*/ rw,
@{MOUNTS}/ rw,
@{MOUNTS}/*/ rw,
@{MOUNTS}/*/*/ rw,
/media/cdrom[0-9]/ r,
# Mount iso/img files