| 1 |
# Firejail profile for Visual Studio Code |
| 2 |
# This file is overwritten after every install/update |
| 3 |
# Persistent local customizations |
| 4 |
include code.local |
| 5 |
# Persistent global definitions |
| 6 |
include globals.local |
| 7 |
|
| 8 |
# Disabled until someone reported positive feedback |
| 9 |
ignore include disable-devel.inc |
| 10 |
ignore include disable-exec.inc |
| 11 |
ignore include disable-interpreters.inc |
| 12 |
ignore include disable-xdg.inc |
| 13 |
ignore whitelist ${DOWNLOADS} |
| 14 |
ignore whitelist ${HOME}/.config/Electron |
| 15 |
ignore whitelist ${HOME}/.config/electron*-flag*.conf |
| 16 |
ignore include whitelist-common.inc |
| 17 |
ignore include whitelist-runuser-common.inc |
| 18 |
ignore include whitelist-usr-share-common.inc |
| 19 |
ignore include whitelist-var-common.inc |
| 20 |
ignore apparmor |
| 21 |
ignore disable-mnt |
| 22 |
ignore dbus-user none |
| 23 |
ignore dbus-system none |
| 24 |
|
| 25 |
noblacklist ${HOME}/.config/Code |
| 26 |
noblacklist ${HOME}/.config/Code - OSS |
| 27 |
noblacklist ${HOME}/.vscode |
| 28 |
noblacklist ${HOME}/.vscode-oss |
| 29 |
|
| 30 |
# Allows files commonly used by IDEs |
| 31 |
include allow-common-devel.inc |
| 32 |
|
| 33 |
nosound |
| 34 |
|
| 35 |
# Disabling noexec ${HOME} for now since it will |
| 36 |
# probably interfere with running some programmes |
| 37 |
# in VS Code |
| 38 |
#noexec ${HOME} |
| 39 |
noexec /tmp |
| 40 |
|
| 41 |
# Redirect |
| 42 |
include electron-common.profile |