From 37452ef1a71473b87431c3c708d3b31ca1b7a25f Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Mon, 11 Jan 2021 17:32:31 +0000 Subject: 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 --- etc/inc/disable-programs.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'etc/inc/disable-programs.inc') diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index f5bce4ba4..74cbfbcbe 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc @@ -761,6 +761,7 @@ blacklist ${HOME}/.neverball blacklist ${HOME}/.newsbeuter blacklist ${HOME}/.newsboat blacklist ${HOME}/.nicotine +blacklist ${HOME}/.node-gyp blacklist ${HOME}/.npm blacklist ${HOME}/.npmrc blacklist ${HOME}/.nv @@ -849,6 +850,10 @@ blacklist ${HOME}/.xmr-stak blacklist ${HOME}/.xonotic blacklist ${HOME}/.xournalpp blacklist ${HOME}/.xpdfrc +blacklist ${HOME}/.yarn +blacklist ${HOME}/.yarn-config +blacklist ${HOME}/.yarncache +blacklist ${HOME}/.yarnrc blacklist ${HOME}/.zoom blacklist /tmp/akonadi-* blacklist /tmp/ssh-* -- cgit v1.2.3-70-g09d2