5 include <tunables/global>
6 profile deepin-wine6 /opt/deepin-wine6-stable/bin/* {
7 include <abstractions/base>
8 include <abstractions/fonts>
9 include <abstractions/gnome>
10 include <abstractions/kde>
11 include <abstractions/nameservice>
12 include <abstractions/ssl_certs>
13 include <abstractions/user-tmp>
14 include <abstractions/private-files-strict>
18 @{PROC}/@{pid}/net/if_inet6 r,
19 @{PROC}/@{pid}/net/ipv6_route r,
21 /opt/deepin-wine6-stable/** rmix,
24 /usr/share/terminfo/** r,
27 /tmp/.wine-*/server-*/ rw,
28 /tmp/.wine-*/server-*/* rwmk,
31 owner @{HOME}/.wine/ rw,
32 owner @{HOME}/.wine/** rwmk,
33 owner @{HOME}/.local/share/icons/hicolor/** rwk,
34 owner @{HOME}/.local/share/applications/** rwk,
35 owner @{HOME}/.config/menus/applications-merged/wine-* rwk,
36 owner @{HOME}/.local/share/desktop-directories/wine-* rwk,
38 # Mostly winemenubuilder stuff
39 deny /usr/bin/update-mime-database x,
40 deny /usr/bin/update-desktop-database x,
41 deny @{HOME}/.local/share/mime/** w,
44 ##deny capability sys_ptrace,
47 /etc/udev/udev.conf r,
49 /run/udev/queue.bin r,
51 /sys/devices/system/** r,
58 # For initial ~/.wine creation/updates only
61 owner @{HOME}/.cache/ r,
62 owner @{HOME}/.cache/wine/ rwk,
63 owner @{HOME}/.cache/wine/** rwk,
66 owner /proc/@{pid}/mounts r,
67 owner @{HOME}/.cups/ r,
76 /usr/bin/ntlm_auth ix,
77 owner @{HOME}/.deepinwine/** mrwkl,
78 owner @{HOME}/Documents/** mrwkl,
79 owner @{HOME}/Downloads/** mrwkl,
84 /usr/share/fonts/** mrl,
85 ptrace (trace, tracedby) peer=deepin-wine6,
87 /opt/apps/com.qq.weixin.deepin/** rmix,
89 /opt/apps/com.qq.weixin.work.deepin/** rmix,
90 # Site-specific additions and overrides. See local/README for details.
91 include if exists <local/deepin-wine6>