1
0
Files
electrum/contrib/apparmor/apparmor.d/electrum.appimage
Robert 410201af73 fix apparmor issue (#9047)
fix apparmor issue

Co-authored-by: ghost43 <somber.night@protonmail.com>
2024-05-16 15:47:47 +00:00

37 lines
698 B
Plaintext

# Credits : Mikhail Morfikov
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}bin/fusermount{,3}
profile fusermount @{exec_path} {
include <abstractions/base>
include <abstractions/nameservice>
# To mount anything:
# fusermount: mount failed: Operation not permitted
capability sys_admin,
# For jmtpfs
capability dac_read_search,
@{exec_path} mr,
# Where to mount ISO files
owner @{HOME}/*/ rw,
owner @{HOME}/*/*/ rw,
owner @{HOME}/.cache/**/ rw,
# Be able to mount ISO images
mount fstype={fuse,fuse.*},
unmount fstype={fuse,fuse.*},
/etc/fuse.conf r,
/dev/fuse rw,
@{PROC}/@{pid}/mounts r,
include if exists <local/fusermount>
}