aboutsummaryrefslogtreecommitdiffstats
path: root/etc/inc/allow-common-devel.inc
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2021-01-11 17:32:31 +0000
committerLibravatar GitHub <noreply@github.com>2021-01-11 17:32:31 +0000
commit37452ef1a71473b87431c3c708d3b31ca1b7a25f (patch)
treecbd95f66f264c2c049052f4434757db9ebf99c1e /etc/inc/allow-common-devel.inc
parentfix ordering in ssh.profile (#3882) (diff)
downloadfirejail-37452ef1a71473b87431c3c708d3b31ca1b7a25f.tar.gz
firejail-37452ef1a71473b87431c3c708d3b31ca1b7a25f.tar.zst
firejail-37452ef1a71473b87431c3c708d3b31ca1b7a25f.zip
refactor nodejs applications (npm & yarn) (#3876)
* add yarn & reorder * add node-gyp & yarn files * Create nodejs-common.profile * Create yarn.profile * refactor npm.profile * add new profile: yarn * read-only's for npm/yarn Thanks to the [suggestion](https://github.com/netblue30/firejail/pull/3876#pullrequestreview-564682989) from @kmk3. * ignore read-only's for npm As [suggested](https://github.com/netblue30/firejail/pull/3876#pullrequestreview-564682989) by @kmk3. * ignore read-only for yarn As suggested in https://github.com/netblue30/firejail/pull/3876#pullrequestreview-564682989 by @kmk3. * remove quiet from nodejs-common.profile quiet should go into the caller profiles instead * add quiet to npm.profile Thanks @rusty-snake for the review. * re-ordering some options * re-ordering
Diffstat (limited to 'etc/inc/allow-common-devel.inc')
-rw-r--r--etc/inc/allow-common-devel.inc13
1 files changed, 9 insertions, 4 deletions
diff --git a/etc/inc/allow-common-devel.inc b/etc/inc/allow-common-devel.inc
index 68e91a09b..41643657d 100644
--- a/etc/inc/allow-common-devel.inc
+++ b/etc/inc/allow-common-devel.inc
@@ -11,6 +11,15 @@ noblacklist ${HOME}/.git-credentials
11noblacklist ${HOME}/.gradle 11noblacklist ${HOME}/.gradle
12noblacklist ${HOME}/.java 12noblacklist ${HOME}/.java
13 13
14# Node.js
15noblacklist ${HOME}/.node-gyp
16noblacklist ${HOME}/.npm
17noblacklist ${HOME}/.npmrc
18noblacklist ${HOME}/.yarn
19noblacklist ${HOME}/.yarn-config
20noblacklist ${HOME}/.yarncache
21noblacklist ${HOME}/.yarnrc
22
14# Python 23# Python
15noblacklist ${HOME}/.pylint.d 24noblacklist ${HOME}/.pylint.d
16noblacklist ${HOME}/.python-history 25noblacklist ${HOME}/.python-history
@@ -25,7 +34,3 @@ noblacklist ${HOME}/.cargo/registry
25noblacklist ${HOME}/.cargo/.crates.toml 34noblacklist ${HOME}/.cargo/.crates.toml
26noblacklist ${HOME}/.cargo/.crates2.json 35noblacklist ${HOME}/.cargo/.crates2.json
27noblacklist ${HOME}/.cargo/.package-cache 36noblacklist ${HOME}/.cargo/.package-cache
28
29# npm
30noblacklist ${HOME}/.npm
31noblacklist ${HOME}/.npmrc