summaryrefslogtreecommitdiffstats
path: root/etc/github-desktop.profile
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2019-01-22 00:09:08 +0000
committerLibravatar GitHub <noreply@github.com>2019-01-22 00:09:08 +0000
commitbeb9638e2fc9d07f26671ff010cee1ed93ff8a9e (patch)
tree4c6b319a60b6b5499b9a15afdabda6c59775fa11 /etc/github-desktop.profile
parentEdit github-desktop entree in firecfg (diff)
downloadfirejail-beb9638e2fc9d07f26671ff010cee1ed93ff8a9e.tar.gz
firejail-beb9638e2fc9d07f26671ff010cee1ed93ff8a9e.tar.zst
firejail-beb9638e2fc9d07f26671ff010cee1ed93ff8a9e.zip
Refactor github-desktop.profile
Diffstat (limited to 'etc/github-desktop.profile')
-rw-r--r--etc/github-desktop.profile54
1 files changed, 54 insertions, 0 deletions
diff --git a/etc/github-desktop.profile b/etc/github-desktop.profile
new file mode 100644
index 000000000..d7c894ac5
--- /dev/null
+++ b/etc/github-desktop.profile
@@ -0,0 +1,54 @@
1# Firejail profile for github-desktop
2# Description: Extend your GitHub workflow beyond your browser with GitHub Desktop
3# This file is overwritten after every install/update
4# Persistent local customizations
5include github-desktop.local
6# Persistent global definitions
7include globals.local
8
9# Note: add noblacklist/whitelist entrees below for any
10# location where you keep local repository clones.
11
12noblacklist ${HOME}/.gitconfig
13whitelist ${HOME}/.gitconfig
14noblacklist ${HOME}/.config/GitHub Desktop
15whitelist ${HOME}/.config/GitHub Desktop
16
17include disable-common.inc
18include disable-passwdmgr.inc
19include disable-programs.inc
20include disable-devel.inc
21include disable-interpreters.inc
22
23include whitelist-common.inc
24
25caps.drop all
26netfilter
27# no3d
28nodvd
29nogroups
30nonewprivs
31noroot
32nosound
33notv
34nou2f
35novideo
36protocol unix,inet,inet6,netlink
37seccomp
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
44disable-mnt
45# private-bin github-desktop
46private-cache
47private-dev
48# private-etc none
49# private-lib
50private-tmp
51
52# memory-deny-write-execute
53noexec ${HOME}
54noexec /tmp