mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
50 lines
1.3 KiB
Text
50 lines
1.3 KiB
Text
# Firejail profile for libreoffice
|
|
# Description: Office productivity suite
|
|
# This file is overwritten after every install/update
|
|
# Persistent local customizations
|
|
include /etc/firejail/libreoffice.local
|
|
# Persistent global definitions
|
|
include /etc/firejail/globals.local
|
|
|
|
noblacklist ${HOME}/.java
|
|
noblacklist /usr/local/sbin
|
|
noblacklist ${HOME}/.config/libreoffice
|
|
|
|
# libreoffice uses java; if you don't care about java functionality,
|
|
# comment the next four lines
|
|
noblacklist ${PATH}/java
|
|
noblacklist /usr/lib/java
|
|
noblacklist /etc/java
|
|
noblacklist /usr/share/java
|
|
|
|
include /etc/firejail/disable-common.inc
|
|
include /etc/firejail/disable-devel.inc
|
|
include /etc/firejail/disable-passwdmgr.inc
|
|
include /etc/firejail/disable-programs.inc
|
|
|
|
include /etc/firejail/whitelist-var-common.inc
|
|
|
|
# Ubuntu 18.04 uses its own apparmor profile
|
|
# uncomment the next line if you are not on Ubuntu
|
|
#apparmor
|
|
caps.drop all
|
|
machine-id
|
|
netfilter
|
|
#nodbus
|
|
nodvd
|
|
nogroups
|
|
#nonewprivs - fix for Ubuntu 18.04/Debian 10
|
|
noroot
|
|
notv
|
|
#protocol unix,inet,inet6 - fix for Ubuntu 18.04/Debian 10
|
|
#seccomp - fix for Ubuntu 18.04/Debian 10
|
|
shell none
|
|
#tracelog - problems reported by Ubuntu 18.04 apparmor profile in /var/log/syslog
|
|
|
|
private-dev
|
|
private-tmp
|
|
|
|
noexec ${HOME}
|
|
noexec /tmp
|
|
|
|
join-or-start libreoffice
|