diff options
author | Fred-Barclay <Fred-Barclay@users.noreply.github.com> | 2018-11-02 18:00:55 -0500 |
---|---|---|
committer | Fred-Barclay <Fred-Barclay@users.noreply.github.com> | 2018-11-02 18:00:55 -0500 |
commit | ed74dadd85faae9f74c05ae1caf50b3c642ea3b1 (patch) | |
tree | ed8c6049f73fd319940d190b5f4cf69b2c9a38fa /etc | |
parent | Merge pull request #2227 from alexara/alexara-patch-1 (diff) | |
download | firejail-ed74dadd85faae9f74c05ae1caf50b3c642ea3b1.tar.gz firejail-ed74dadd85faae9f74c05ae1caf50b3c642ea3b1.tar.zst firejail-ed74dadd85faae9f74c05ae1caf50b3c642ea3b1.zip |
Add Mendeley profile
Diffstat (limited to 'etc')
-rw-r--r-- | etc/disable-programs.inc | 4 | ||||
-rw-r--r-- | etc/mendeleydesktop.profile | 52 |
2 files changed, 56 insertions, 0 deletions
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc index edf3c7be5..531edcc89 100644 --- a/etc/disable-programs.inc +++ b/etc/disable-programs.inc | |||
@@ -68,6 +68,7 @@ blacklist ${HOME}/.config/INRIA | |||
68 | blacklist ${HOME}/.config/InSilmaril | 68 | blacklist ${HOME}/.config/InSilmaril |
69 | blacklist ${HOME}/.config/Luminance | 69 | blacklist ${HOME}/.config/Luminance |
70 | blacklist ${HOME}/.config/Meltytech | 70 | blacklist ${HOME}/.config/Meltytech |
71 | blacklist ${HOME}/.config/Mendeley Ltd. | ||
71 | blacklist ${HOME}/.config/Min | 72 | blacklist ${HOME}/.config/Min |
72 | blacklist ${HOME}/.config/Mousepad | 73 | blacklist ${HOME}/.config/Mousepad |
73 | blacklist ${HOME}/.config/Mumble | 74 | blacklist ${HOME}/.config/Mumble |
@@ -374,6 +375,7 @@ blacklist ${HOME}/.local/share/0ad | |||
374 | blacklist ${HOME}/.local/share/3909/PapersPlease | 375 | blacklist ${HOME}/.local/share/3909/PapersPlease |
375 | blacklist ${HOME}/.local/share/Empathy | 376 | blacklist ${HOME}/.local/share/Empathy |
376 | blacklist ${HOME}/.local/share/JetBrains | 377 | blacklist ${HOME}/.local/share/JetBrains |
378 | blacklist ${HOME}/.local/share/Mendeley Ltd. | ||
377 | blacklist ${HOME}/.local/share/Mumble | 379 | blacklist ${HOME}/.local/share/Mumble |
378 | blacklist ${HOME}/.local/share/PBE | 380 | blacklist ${HOME}/.local/share/PBE |
379 | blacklist ${HOME}/.local/share/QMediathekView | 381 | blacklist ${HOME}/.local/share/QMediathekView |
@@ -393,6 +395,7 @@ blacklist ${HOME}/.local/share/caja-python | |||
393 | blacklist ${HOME}/.local/share/cdprojektred | 395 | blacklist ${HOME}/.local/share/cdprojektred |
394 | blacklist ${HOME}/.local/share/clipit | 396 | blacklist ${HOME}/.local/share/clipit |
395 | blacklist ${HOME}/.local/share/contacts | 397 | blacklist ${HOME}/.local/share/contacts |
398 | blacklist ${HOME}/.local/share/data/Mendeley Ltd. | ||
396 | blacklist ${HOME}/.local/share/data/Mumble | 399 | blacklist ${HOME}/.local/share/data/Mumble |
397 | blacklist ${HOME}/.local/share/data/MusE | 400 | blacklist ${HOME}/.local/share/data/MusE |
398 | blacklist ${HOME}/.local/share/data/MuseScore | 401 | blacklist ${HOME}/.local/share/data/MuseScore |
@@ -588,6 +591,7 @@ blacklist ${HOME}/.cache/ksplashqml | |||
588 | blacklist ${HOME}/.cache/kwin | 591 | blacklist ${HOME}/.cache/kwin |
589 | blacklist ${HOME}/.cache/libgweather | 592 | blacklist ${HOME}/.cache/libgweather |
590 | blacklist ${HOME}/.cache/liferea | 593 | blacklist ${HOME}/.cache/liferea |
594 | blacklist ${HOME}/.cache/Mendeley Ltd. | ||
591 | blacklist ${HOME}/.cache/midori | 595 | blacklist ${HOME}/.cache/midori |
592 | blacklist ${HOME}/.cache/moonchild productions/basilisk | 596 | blacklist ${HOME}/.cache/moonchild productions/basilisk |
593 | blacklist ${HOME}/.cache/moonchild productions/pale moon | 597 | blacklist ${HOME}/.cache/moonchild productions/pale moon |
diff --git a/etc/mendeleydesktop.profile b/etc/mendeleydesktop.profile new file mode 100644 index 000000000..280baebdc --- /dev/null +++ b/etc/mendeleydesktop.profile | |||
@@ -0,0 +1,52 @@ | |||
1 | # Firejail profile for Mendeley | ||
2 | # Description: Academic software for managing and sharing research papers. | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include mendeleydesktop.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${DOCUMENTS} | ||
10 | noblacklist ${DOWNLOADS} | ||
11 | noblacklist ${HOME}/.cache/Mendeley Ltd. | ||
12 | noblacklist ${HOME}/.config/Mendeley Ltd. | ||
13 | noblacklist ${HOME}/.local/share/Mendeley Ltd. | ||
14 | noblacklist ${HOME}/.local/share/data/Mendeley Ltd. | ||
15 | noblacklist ${HOME}/.pki/nssdb | ||
16 | |||
17 | # Allow python (blacklisted by disable-interpreters.inc) | ||
18 | noblacklist ${PATH}/python2* | ||
19 | noblacklist ${PATH}/python3* | ||
20 | noblacklist /usr/lib/python2* | ||
21 | noblacklist /usr/lib/python3* | ||
22 | |||
23 | include disable-common.inc | ||
24 | include disable-devel.inc | ||
25 | include disable-interpreters.inc | ||
26 | include disable-passwdmgr.inc | ||
27 | include disable-programs.inc | ||
28 | |||
29 | include whitelist-var-common.inc | ||
30 | |||
31 | caps.drop all | ||
32 | netfilter | ||
33 | nodbus | ||
34 | nodvd | ||
35 | nogroups | ||
36 | nonewprivs | ||
37 | noroot | ||
38 | notv | ||
39 | nou2f | ||
40 | novideo | ||
41 | protocol unix,inet,inet6,netlink | ||
42 | seccomp | ||
43 | shell none | ||
44 | tracelog | ||
45 | |||
46 | disable-mnt | ||
47 | private-bin mendeleydesktop,python*,env,gconftool-2,which,sh,ln,cat,update-desktop-database | ||
48 | private-dev | ||
49 | private-tmp | ||
50 | |||
51 | noexec ${HOME} | ||
52 | noexec /tmp | ||