/
snap
/
core20
/
2866
/
etc
/
apparmor.d
/
abstractions
/
/snap/core20/2866/etc/apparmor.d/abstractions
mkdir
upload
Name
Size
Mode
Actions
apparmor_api/
-
0755
rm
ubuntu-browsers.d/
-
0755
rm
apache2-common
849
0644
edit
dl
rm
aspell
308
0644
edit
dl
rm
audio
1862
0644
edit
dl
rm
authentication
1586
0644
edit
dl
rm
base
6544
0644
edit
dl
rm
bash
1512
0644
edit
dl
rm
consoles
798
0644
edit
dl
rm
cups-client
714
0644
edit
dl
rm
dbus
593
0644
edit
dl
rm
dbus-accessibility
630
0644
edit
dl
rm
dbus-accessibility-strict
637
0644
edit
dl
rm
dbus-session
638
0644
edit
dl
rm
dbus-session-strict
919
0644
edit
dl
rm
dbus-strict
677
0644
edit
dl
rm
dconf
246
0644
edit
dl
rm
dovecot-common
562
0644
edit
dl
rm
dri-common
434
0644
edit
dl
rm
dri-enumerate
281
0644
edit
dl
rm
enchant
2007
0644
edit
dl
rm
fcitx
456
0644
edit
dl
rm
fcitx-strict
712
0644
edit
dl
rm
fonts
2088
0644
edit
dl
rm
freedesktop.org
1291
0644
edit
dl
rm
gnome
3626
0644
edit
dl
rm
gnupg
356
0644
edit
dl
rm
ibus
1027
0644
edit
dl
rm
kde
2775
0644
edit
dl
rm
kde-globals-write
298
0644
edit
dl
rm
kde-icon-cache-write
138
0644
edit
dl
rm
kde-language-write
458
0644
edit
dl
rm
kerberosclient
1169
0644
edit
dl
rm
ldapclient
754
0644
edit
dl
rm
libpam-systemd
659
0644
edit
dl
rm
likewise
489
0644
edit
dl
rm
mdns
457
0644
edit
dl
rm
mesa
577
0644
edit
dl
rm
mir
593
0644
edit
dl
rm
mozc
471
0644
edit
dl
rm
mysql
641
0644
edit
dl
rm
nameservice
5080
0644
edit
dl
rm
nis
524
0644
edit
dl
rm
nvidia
649
0644
edit
dl
rm
opencl
269
0644
edit
dl
rm
opencl-common
404
0644
edit
dl
rm
opencl-intel
564
0644
edit
dl
rm
opencl-mesa
527
0644
edit
dl
rm
opencl-nvidia
785
0644
edit
dl
rm
opencl-pocl
2811
0644
edit
dl
rm
openssl
470
0644
edit
dl
rm
orbit2
93
0644
edit
dl
rm
p11-kit
899
0644
edit
dl
rm
perl
872
0644
edit
dl
rm
php
1041
0644
edit
dl
rm
php5
105
0644
edit
dl
rm
postfix-common
1196
0644
edit
dl
rm
private-files
1549
0644
edit
dl
rm
private-files-strict
1045
0644
edit
dl
rm
python
1538
0644
edit
dl
rm
qt5
762
0644
edit
dl
rm
qt5-compose-cache-write
278
0644
edit
dl
rm
qt5-settings-write
398
0644
edit
dl
rm
recent-documents-write
346
0644
edit
dl
rm
ruby
906
0644
edit
dl
rm
samba
830
0644
edit
dl
rm
smbpass
476
0644
edit
dl
rm
ssl_certs
1287
0644
edit
dl
rm
ssl_keys
790
0644
edit
dl
rm
svn-repositories
1646
0644
edit
dl
rm
ubuntu-bittorrent-clients
698
0644
edit
dl
rm
ubuntu-browsers
1667
0644
edit
dl
rm
ubuntu-console-browsers
611
0644
edit
dl
rm
ubuntu-console-email
601
0644
edit
dl
rm
ubuntu-email
977
0644
edit
dl
rm
ubuntu-feed-readers
339
0644
edit
dl
rm
ubuntu-gnome-terminal
182
0644
edit
dl
rm
ubuntu-helpers
3398
0644
edit
dl
rm
ubuntu-konsole
343
0644
edit
dl
rm
ubuntu-media-players
2234
0644
edit
dl
rm
ubuntu-unity7-base
2445
0644
edit
dl
rm
ubuntu-unity7-launcher
191
0644
edit
dl
rm
ubuntu-unity7-messaging
192
0644
edit
dl
rm
ubuntu-xterm
237
0644
edit
dl
rm
user-download
876
0644
edit
dl
rm
user-mail
837
0644
edit
dl
rm
user-manpages
889
0644
edit
dl
rm
user-tmp
654
0644
edit
dl
rm
user-write
864
0644
edit
dl
rm
video
127
0644
edit
dl
rm
vulkan
503
0644
edit
dl
rm
wayland
580
0644
edit
dl
rm
web-data
705
0644
edit
dl
rm
winbind
739
0644
edit
dl
rm
wutmp
585
0644
edit
dl
rm
X
1766
0644
edit
dl
rm
xad
883
0644
edit
dl
rm
xdg-desktop
673
0644
edit
dl
rm
Edit:
/snap/core20/2866/etc/apparmor.d/abstractions/ubuntu-helpers
(3398B)
# Lenient profile that is intended to be used when 'Ux' is desired but # does not provide enough environment sanitizing. This effectively is an # open profile that blacklists certain known dangerous files and also # does not allow any capabilities. For example, it will not allow 'm' on files # owned be the user invoking the program. While this provides some additional # protection, please use with care as applications running under this profile # are effectively running without any AppArmor protection. Use this profile # only if the process absolutely must be run (effectively) unconfined. # # Usage: # Because this abstraction defines the sanitized_helper profile, it must only # be #included once. Therefore this abstraction should typically not be # included in other abstractions so as to avoid parser errors regarding # multiple definitions. # # Limitations: # 1. This does not work for root owned processes, because of the way we use # owner matching in the sanitized helper. We could do a better job with # this to support root, but it would make the policy harder to understand # and going unconfined as root is not desirable any way. # # 2. For this sanitized_helper to work, the program running in the sanitized # environment must open symlinks directly in order for AppArmor to mediate # it. This is confirmed to work with: # - compiled code which can load shared libraries # - python imports # It is known not to work with: # - perl includes # 3. Sanitizing ruby and java # # Use at your own risk. This profile was developed as an interim workaround for # LP: #851986 until AppArmor utilizes proper environment filtering. profile sanitized_helper { #include <abstractions/base> #include <abstractions/X> # Allow all networking network inet, network inet6, # Allow all DBus communications #include <abstractions/dbus-session-strict> #include <abstractions/dbus-strict> dbus, # Needed for Google Chrome ptrace (trace) peer=**//sanitized_helper, # Allow exec of anything, but under this profile. Allow transition # to other profiles if they exist. /{usr/,usr/local/,}{bin,sbin}/* Pixr, # Allow exec of libexec applications in /usr/lib* and /usr/local/lib* /usr/{,local/}lib*/{,**/}* Pixr, # Allow exec of software-center scripts. We may need to allow wider # permissions for /usr/share, but for now just do this. (LP: #972367) /usr/share/software-center/* Pixr, # Allow exec of texlive font build scripts (LP: #1010909) /usr/share/texlive/texmf{,-dist}/web2c/{,**/}* Pixr, # While the chromium and chrome sandboxes are setuid root, they only link # in limited libraries so glibc's secure execution should be enough to not # require the santized_helper (ie, LD_PRELOAD will only use standard system # paths (man ld.so)). /usr/lib/chromium-browser/chromium-browser-sandbox PUxr, /usr/lib/chromium{,-browser}/chrome-sandbox PUxr, /opt/google/chrome{,-beta,-unstable}/chrome-sandbox PUxr, /opt/google/chrome{,-beta,-unstable}/google-chrome Pixr, /opt/google/chrome{,-beta,-unstable}/chrome Pixr, /opt/google/chrome{,-beta,-unstable}/{,**/}lib*.so{,.*} m, # Full access / r, /** rwkl, /{,usr/,usr/local/}lib{,32,64}/{,**/}*.so{,.*} m, # Dangerous files audit deny owner /**/* m, # compiled libraries audit deny owner /**/*.py* r, # python imports }
Save
cmd:
run