mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
* Create allow-INTERPETER.inc * allow-lua.inc * allow-perl.inc * allow-python2.inc * allow-python3.inc * Create allow-java.inc * Update profiles to use new allow-INTERPRETER.inc includes * Update profiles to use new allow-INTERPRETER.inc includes 2/x * Fix order of allow-INTERPRETER.inc includes * Update profiles to use new allow-INTERPRETER.inc includes 3/x * Fixup comment about allow-java.inc https://github.com/netblue30/firejail/pull/2736#discussion_r289597997 * Add Arch Linux specific paths to allow-perl.inc
49 lines
1.3 KiB
Text
49 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 libreoffice.local
|
|
# Persistent global definitions
|
|
include globals.local
|
|
|
|
noblacklist ${HOME}/.java
|
|
noblacklist /usr/local/sbin
|
|
noblacklist ${HOME}/.config/libreoffice
|
|
|
|
# libreoffice uses java for some certain operations
|
|
# comment if you don't care about java functionality
|
|
# Allow java (blacklisted by disable-devel.inc)
|
|
include allow-java.inc
|
|
|
|
include disable-common.inc
|
|
include disable-devel.inc
|
|
include disable-exec.inc
|
|
include disable-passwdmgr.inc
|
|
include disable-programs.inc
|
|
|
|
include whitelist-var-common.inc
|
|
|
|
# ubuntu 18.04 comes with its own apparmor profile, but it is not in enforce mode.
|
|
# comment the next line to use the ubuntu profile instead of firejail's apparmor profile
|
|
apparmor
|
|
caps.drop all
|
|
netfilter
|
|
nodvd
|
|
nogroups
|
|
# comment nonewprivs when using the ubuntu 18.04/debian 10 apparmor profile
|
|
nonewprivs
|
|
noroot
|
|
notv
|
|
nou2f
|
|
# comment the protocol line when using the ubuntu 18.04/debian 10 apparmor profile
|
|
protocol unix,inet,inet6
|
|
# comment seccomp when using the ubuntu 18.04/debian 10 apparmor profile
|
|
seccomp
|
|
shell none
|
|
# comment tracelog when using the ubuntu 18.04/debian 10 apparmor profile
|
|
tracelog
|
|
|
|
private-dev
|
|
private-tmp
|
|
|
|
join-or-start libreoffice
|