diff options
author | 2017-07-13 11:31:06 -0500 | |
---|---|---|
committer | 2017-07-13 11:31:06 -0500 | |
commit | b3d637cb313d210c184c0de3478f08caeb92ff2a (patch) | |
tree | 532458cb3dd464a3cc1b3c3eee485736cf2d8bdb /etc/idea.sh.profile | |
parent | Cleanup from merges #1369 and #1373 (diff) | |
parent | Update idea.sh.profile (diff) | |
download | firejail-b3d637cb313d210c184c0de3478f08caeb92ff2a.tar.gz firejail-b3d637cb313d210c184c0de3478f08caeb92ff2a.tar.zst firejail-b3d637cb313d210c184c0de3478f08caeb92ff2a.zip |
Merge pull request #1374 from SpotComms/idea
Add profiles for IntelliJ IDEA and Android Studio
Diffstat (limited to 'etc/idea.sh.profile')
-rw-r--r-- | etc/idea.sh.profile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/etc/idea.sh.profile b/etc/idea.sh.profile new file mode 100644 index 000000000..84f40f78e --- /dev/null +++ b/etc/idea.sh.profile | |||
@@ -0,0 +1,36 @@ | |||
1 | # Persistent global definitions go here | ||
2 | include /etc/firejail/globals.local | ||
3 | |||
4 | # This file is overwritten during software install. | ||
5 | # Persistent customizations should go in a .local file. | ||
6 | include /etc/firejail/idea.sh.local | ||
7 | |||
8 | # Firejail profile for IntelliJ IDEA Community Edition | ||
9 | |||
10 | noblacklist ${HOME}/.android | ||
11 | noblacklist ${HOME}/.gitconfig | ||
12 | noblacklist ${HOME}/.gradle | ||
13 | noblacklist ${HOME}/.IdeaIC* | ||
14 | noblacklist ${HOME}/.java | ||
15 | noblacklist ${HOME}/.local/share/JetBrains | ||
16 | noblacklist ${HOME}/.tooling | ||
17 | |||
18 | include /etc/firejail/disable-common.inc | ||
19 | include /etc/firejail/disable-passwdmgr.inc | ||
20 | include /etc/firejail/disable-programs.inc | ||
21 | |||
22 | caps.drop all | ||
23 | netfilter | ||
24 | nogroups | ||
25 | nonewprivs | ||
26 | noroot | ||
27 | #nosound | ||
28 | novideo | ||
29 | protocol unix,inet,inet6 | ||
30 | seccomp | ||
31 | shell none | ||
32 | |||
33 | private-dev | ||
34 | #private-tmp | ||
35 | |||
36 | noexec /tmp | ||