-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappimage
40 lines (31 loc) · 828 Bytes
/
appimage
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Author: Anton Nesterov <anton@nesterov.cc>
# This abstraction meant to cover AppImage's needs
include <abstractions/base>
mount fstype=fuse,
mount fstype=fuse.*,
umount fstype=fuse,
umount fstype=fuse.*,
/dev/fuse rw,
/tmp/.mount_*/ rw,
/tmp/.mount_*/** rwixm,
/{usr/,}bin/fusermount Cx -> fusermount,
profile fusermount {
include <abstractions/base>
capability dac_read_search,
capability dac_override,
capability sys_admin,
mount fstype=fuse,
mount fstype=fuse.*,
umount fstype=fuse,
umount fstype=fuse.*,
/{usr/,}bin/fusermount r,
/etc/fuse.conf r,
/etc/nsswitch.conf r,
/etc/passwd r,
/dev/fuse rw,
@{PROC}/@{pid}/mounts r,
/tmp/.mount_*/ r,
/tmp/.mount_*/** r,
# where your appimages stored
/usr/local/bin/** r,
}