aboutsummaryrefslogtreecommitdiffstats
path: root/etc/inc/disable-programs.inc
diff options
context:
space:
mode:
authorLibravatar Aidan Gauland <aidalgol@users.noreply.github.com>2021-01-09 09:51:41 +1300
committerLibravatar GitHub <noreply@github.com>2021-01-08 20:51:41 +0000
commit3203dd23a83fc45924b0b46e1bf204bafa878b33 (patch)
tree68a46d9fdff2212a45cfea0e76b291e36608dc6d /etc/inc/disable-programs.inc
parentfbuilder: check Yama permissions (diff)
downloadfirejail-3203dd23a83fc45924b0b46e1bf204bafa878b33.tar.gz
firejail-3203dd23a83fc45924b0b46e1bf204bafa878b33.tar.zst
firejail-3203dd23a83fc45924b0b46e1bf204bafa878b33.zip
Add profile for npm (#3866)
* Add profile for npm * Apply suggestions from code review * Remove redundant blacklisting of Wayland. * Remove unnecessary noblacklist lines for nodejs. * Replace absolute paths to .inc files with filenames. * Remove unneeded dbus whitelisting. Co-authored-by: rusty-snake <41237666+rusty-snake@users.noreply.github.com> * Remove empty line To keep consistent with other profiles, remove the blank line after the header comment. Co-authored-by: rusty-snake <41237666+rusty-snake@users.noreply.github.com> * Add npm files to add-common-devel So that our addition of npm paths to disable-programs.inc dose not break IDEs, we need to unblacklist these same paths in allow-common-devel.inc. * Remove extra blank line * Add common whitelist includes to npm profile * Tighten npm profile Include disable-exec.inc, but allowing ${HOME}. * Remove whitelist-common.inc from npm profile whitelist-common breaks npm, and since we don't know where the user's npm projects will be, leave the whitelist-common include in a comment with a note about how to enable it for their setup. * Fix inverted commands Co-authored-by: rusty-snake <41237666+rusty-snake@users.noreply.github.com> * Fixes for whitelisting * Add login.defs to npm profile's private-etc Co-authored-by: Aidan Gauland <aidalgol+git@fastmail.net> Co-authored-by: rusty-snake <41237666+rusty-snake@users.noreply.github.com>
Diffstat (limited to 'etc/inc/disable-programs.inc')
-rw-r--r--etc/inc/disable-programs.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc
index 74d45c4ca..2112c9b4f 100644
--- a/etc/inc/disable-programs.inc
+++ b/etc/inc/disable-programs.inc
@@ -760,6 +760,8 @@ blacklist ${HOME}/.neverball
760blacklist ${HOME}/.newsbeuter 760blacklist ${HOME}/.newsbeuter
761blacklist ${HOME}/.newsboat 761blacklist ${HOME}/.newsboat
762blacklist ${HOME}/.nicotine 762blacklist ${HOME}/.nicotine
763blacklist ${HOME}/.npm
764blacklist ${HOME}/.npmrc
763blacklist ${HOME}/.nv 765blacklist ${HOME}/.nv
764blacklist ${HOME}/.nylas-mail 766blacklist ${HOME}/.nylas-mail
765blacklist ${HOME}/.openarena 767blacklist ${HOME}/.openarena