Skip to content

Commit

Permalink
Added git-cola profile (#3560)
Browse files Browse the repository at this point in the history
* Added git-cola profile

Initial

* Edit private-etc

Add alternatives,pki

* Add disable-xdg
  • Loading branch information
bbhtt authored Jul 31, 2020
1 parent 6fa68d1 commit f404f6c
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 0 deletions.
1 change: 1 addition & 0 deletions etc/inc/disable-programs.inc
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ blacklist ${HOME}/.config/geeqie
blacklist ${HOME}/.config/ghb
blacklist ${HOME}/.config/ghostwriter
blacklist ${HOME}/.config/git
blacklist ${HOME}/.config/git-cola
blacklist ${HOME}/.config/glade.conf
blacklist ${HOME}/.config/globaltime
blacklist ${HOME}/.config/gmpc
Expand Down
66 changes: 66 additions & 0 deletions etc/profile-a-l/git-cola.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Firejail profile for git-cola
# Description: Linux native frontend for Git
# This file is overwritten after every install/update
# Persistent local customizations
include git-cola.local
# Persistent global definitions
include globals.local

ignore noexec ${HOME}

noblacklist ${HOME}/.gitconfig
noblacklist ${HOME}/.git-credentials
noblacklist ${HOME}/.gnupg
noblacklist ${HOME}/.ssh
noblacklist ${HOME}/.config/git
noblacklist ${HOME}/.config/git-cola
# Put your editor,diff viewer config path below and uncomment to load settings
# noblacklist ${HOME}/

include allow-python2.inc
include allow-python3.inc

include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-passwdmgr.inc
include disable-programs.inc
include disable-xdg.inc

include whitelist-runuser-common.inc
include whitelist-var-common.inc

apparmor
caps.drop all
machine-id
netfilter
no3d
nodvd
nogroups
nonewprivs
noroot
nosound
notv
nou2f
novideo
protocol unix,inet,inet6,netlink
seccomp
shell none
tracelog

# private-bin atom,bash,colordiff,emacs,fldiff,geany,gedit,git,git gui,git-cola,git-dag,gitk,gpg,gvim,leafpad,meld,mousepad,nano,notepadqq,python*,sh,ssh,vim,vimdiff,which,xed
private-cache
private-dev
# Comment if you sign commits with GPG
private-etc alternatives,ca-certificates,crypto-policies,fonts,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,localtime,login.defs,machine-id,mime.types,nsswitch.conf,passwd,pki,resolv.conf,selinux,ssl,X11,xdg
private-tmp

dbus-user filter
# Uncomment if you need keyring access
# dbus-user.talk org.freedesktop.secrets
dbus-system none

read-only ${HOME}/.ssh
read-only ${HOME}/.gnupg
read-only ${HOME}/.git-credentials
1 change: 1 addition & 0 deletions src/firecfg/firecfg.config
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ gimp-2.8
gist
gist-paste
gitg
git-cola
github-desktop
gitter
# gjs -- https://github.com/netblue30/firejail/issues/3333#issuecomment-612601102
Expand Down

0 comments on commit f404f6c

Please sign in to comment.