diff options
author | glitsj16 <glitsj16@users.noreply.github.com> | 2019-01-22 00:09:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-22 00:09:08 +0000 |
commit | beb9638e2fc9d07f26671ff010cee1ed93ff8a9e (patch) | |
tree | 4c6b319a60b6b5499b9a15afdabda6c59775fa11 /etc | |
parent | Edit github-desktop entree in firecfg (diff) | |
download | firejail-beb9638e2fc9d07f26671ff010cee1ed93ff8a9e.tar.gz firejail-beb9638e2fc9d07f26671ff010cee1ed93ff8a9e.tar.zst firejail-beb9638e2fc9d07f26671ff010cee1ed93ff8a9e.zip |
Refactor github-desktop.profile
Diffstat (limited to 'etc')
-rw-r--r-- | etc/github-desktop.profile (renamed from etc/desktop.profile) | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/etc/desktop.profile b/etc/github-desktop.profile index bfb1618b2..d7c894ac5 100644 --- a/etc/desktop.profile +++ b/etc/github-desktop.profile | |||
@@ -1,4 +1,4 @@ | |||
1 | # Firejail profile for desktop | 1 | # Firejail profile for github-desktop |
2 | # Description: Extend your GitHub workflow beyond your browser with GitHub Desktop | 2 | # Description: Extend your GitHub workflow beyond your browser with GitHub Desktop |
3 | # This file is overwritten after every install/update | 3 | # This file is overwritten after every install/update |
4 | # Persistent local customizations | 4 | # Persistent local customizations |
@@ -6,7 +6,12 @@ include github-desktop.local | |||
6 | # Persistent global definitions | 6 | # Persistent global definitions |
7 | include globals.local | 7 | include globals.local |
8 | 8 | ||
9 | # Note: add noblacklist/whitelist entrees below for any | ||
10 | # location where you keep local repository clones. | ||
11 | |||
12 | noblacklist ${HOME}/.gitconfig | ||
9 | whitelist ${HOME}/.gitconfig | 13 | whitelist ${HOME}/.gitconfig |
14 | noblacklist ${HOME}/.config/GitHub Desktop | ||
10 | whitelist ${HOME}/.config/GitHub Desktop | 15 | whitelist ${HOME}/.config/GitHub Desktop |
11 | 16 | ||
12 | include disable-common.inc | 17 | include disable-common.inc |
@@ -31,14 +36,19 @@ novideo | |||
31 | protocol unix,inet,inet6,netlink | 36 | protocol unix,inet,inet6,netlink |
32 | seccomp | 37 | seccomp |
33 | 38 | ||
39 | # Note: On debian-based distributions the binary might be located in | ||
40 | # /opt/GitHub Desktop/github-desktop, and therefore not be in PATH. | ||
41 | # If that's the case you can start GitHub Desktop with firejail via | ||
42 | # `firejail "/opt/GitHub Desktop/github-desktop"`. | ||
43 | |||
34 | disable-mnt | 44 | disable-mnt |
35 | # private-bin Atom,desktop | 45 | # private-bin github-desktop |
36 | # private-cache | 46 | private-cache |
37 | # private-dev | 47 | private-dev |
38 | # private-etc none | 48 | # private-etc none |
39 | # private-lib | 49 | # private-lib |
40 | # private-tmp | 50 | private-tmp |
41 | 51 | ||
42 | # memory-deny-write-execute | 52 | # memory-deny-write-execute |
43 | # noexec ${HOME} | 53 | noexec ${HOME} |
44 | # noexec /tmp | 54 | noexec /tmp |