Debian Codegraph @

etc/profile-a-l/gitg.profile

raw
1 # Firejail profile for gitg
2 # Description: Git repository viewer
3 # This file is overwritten after every install/update
4 # Persistent local customizations
5 include gitg.local
6 # Persistent global definitions
7 include globals.local
8
9 noblacklist ${HOME}/.config/git
10 noblacklist ${HOME}/.gitconfig
11 noblacklist ${HOME}/.git-credentials
12 noblacklist ${HOME}/.local/share/gitg
13
14 # Allow ssh (blacklisted by disable-common.inc)
15 include allow-ssh.inc
16
17 include disable-common.inc
18 include disable-devel.inc
19 include disable-exec.inc
20 include disable-interpreters.inc
21 include disable-programs.inc
22
23 #whitelist ${HOME}/YOUR_GIT_PROJECTS_DIRECTORY
24 #whitelist ${HOME}/.config/git
25 #whitelist ${HOME}/.gitconfig
26 #whitelist ${HOME}/.git-credentials
27 #whitelist ${HOME}/.local/share/gitg
28 #whitelist ${HOME}/.ssh
29 #include whitelist-common.inc
30
31 whitelist /usr/share/gitg
32 include whitelist-runuser-common.inc
33 include whitelist-usr-share-common.inc
34 include whitelist-var-common.inc
35
36 caps.drop all
37 netfilter
38 no3d
39 nodvd
40 nogroups
41 noinput
42 nonewprivs
43 noroot
44 nosound
45 notv
46 nou2f
47 novideo
48 protocol unix,inet,inet6
49 seccomp
50 seccomp.block-secondary
51 tracelog
52
53 private-bin git,gitg,ssh
54 private-cache
55 private-dev
56 private-tmp
57
58 dbus-user filter
59 dbus-user.own org.gnome.gitg
60 dbus-user.talk ca.desrt.dconf
61 # Add the next line to your gitg.local if you need keyring access.
62 #dbus-user.talk org.freedesktop.secrets
63 dbus-system none
64
65 restrict-namespaces