aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
7include globals.local 7include globals.local
8 8
9# Note: add noblacklist/whitelist entrees below for any
10# location where you keep local repository clones.
11
12noblacklist ${HOME}/.gitconfig
9whitelist ${HOME}/.gitconfig 13whitelist ${HOME}/.gitconfig
14noblacklist ${HOME}/.config/GitHub Desktop
10whitelist ${HOME}/.config/GitHub Desktop 15whitelist ${HOME}/.config/GitHub Desktop
11 16
12include disable-common.inc 17include disable-common.inc
@@ -31,14 +36,19 @@ novideo
31protocol unix,inet,inet6,netlink 36protocol unix,inet,inet6,netlink
32seccomp 37seccomp
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
34disable-mnt 44disable-mnt
35# private-bin Atom,desktop 45# private-bin github-desktop
36# private-cache 46private-cache
37# private-dev 47private-dev
38# private-etc none 48# private-etc none
39# private-lib 49# private-lib
40# private-tmp 50private-tmp
41 51
42# memory-deny-write-execute 52# memory-deny-write-execute
43# noexec ${HOME} 53noexec ${HOME}
44# noexec /tmp 54noexec /tmp