Skip to content

Instantly share code, notes, and snippets.

@CaseOf
Created January 6, 2022 00:01
Show Gist options
  • Save CaseOf/2f12ae0f19c35f6a5a048b49492d13f0 to your computer and use it in GitHub Desktop.
Save CaseOf/2f12ae0f19c35f6a5a048b49492d13f0 to your computer and use it in GitHub Desktop.
Firejail profile for seafile-client
# Firejail profile for Seafile
# This file is overwritten after every install/update
# Persistent local customizations
include seafile-applet.local
# Persistent global definitions
include globals.local
noblacklist ${HOME}/.config/Seafile
noblacklist ${HOME}/Seafile/.seafile-data
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
mkdir ${HOME}/.ccnet
mkdir ${HOME}/.config/Seafile
mkdir ${HOME}/Seafile
whitelist ${HOME}/.ccnet
whitelist ${HOME}/.config/Seafile
whitelist ${HOME}/Seafile
include whitelist-common.inc
apparmor
caps.drop all
ipc-namespace
netfilter
nodvd
nogroups
nonewprivs
noroot
nosound
notv
nou2f
novideo
protocol unix,inet,inet6
seccomp
shell none
disable-mnt
private-bin seafile-applet,seaf-daemon,seaf-cli
private-cache
private-dev
private-etc fonts,gtk-2.0,ld.so.cache,resolv.conf,ssl
private-opt none
private-tmp
dbus-user none
dbus-system none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment