aboutsummaryrefslogtreecommitdiffstats
path: root/etc/libreoffice.profile
blob: 1a3f6cbd1c133a8cf35419fac06cf7572d3e0de1 (plain) (blame)
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
43
44
45
46
47
48
49
50
51
# Firejail profile for libreoffice
# Description: Office productivity suite
# This file is overwritten after every install/update
# Persistent local customizations
include libreoffice.local
# Persistent global definitions
include 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 disable-common.inc
include disable-devel.inc
include disable-passwdmgr.inc
include disable-programs.inc

include 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
nou2f
#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