aboutsummaryrefslogtreecommitdiff
path: root/config.dot/firejail/git.profile.link
blob: 90e63a349d7780d14d315af2197b02a39095e5b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# git profile
quiet
noblacklist ~/.gitconfig
noblacklist ~/.ssh
noblacklist ~/.gnupg
noblacklist ~/.emacs
noblacklist ~/.emacs.d
noblacklist ~/.viminfo
noblacklist ~/.vim

# allow git to work with some other configs
noblacklist ${HOME}/.config/autostart
noblacklist ${HOME}/.mutt
noblacklist ${HOME}/.muttrc
noblacklist /etc/ssh

# custom
noblacklist ~/.custom/gitconfig
noblacklist ${PATH}/nc
noblacklist /tmp/ssh-*
noblacklist ~/.subversion

include /etc/firejail/disable-common.inc
include /etc/firejail/disable-programs.inc

# allow write operations in non-default folders
include whitelist-common.local

# allow git to work with dotfiles
read-write ${HOME}/.dotfiles

caps.drop all
netfilter
nonewprivs
noroot
nogroups
nosound
protocol unix,inet,inet6
seccomp
shell none

private-dev