mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
64 lines
1.7 KiB
Text
64 lines
1.7 KiB
Text
# Firejail profile for links
|
|
# Description: Text WWW browser
|
|
# This file is overwritten after every install/update
|
|
# Persistent local customizations
|
|
include links.local
|
|
# Persistent global definitions
|
|
include globals.local
|
|
|
|
noblacklist ${HOME}/.links
|
|
|
|
blacklist /tmp/.X11-unix
|
|
|
|
include disable-common.inc
|
|
include disable-devel.inc
|
|
include disable-exec.inc
|
|
include disable-interpreters.inc
|
|
include disable-passwdmgr.inc
|
|
# you may want to noblacklist files/directories blacklisted in
|
|
# disable-programs.inc and used as associated programs
|
|
include disable-programs.inc
|
|
include disable-xdg.inc
|
|
|
|
mkdir ${HOME}/.links
|
|
whitelist ${HOME}/.links
|
|
whitelist ${DOWNLOADS}
|
|
include whitelist-var-common.inc
|
|
|
|
caps.drop all
|
|
ipc-namespace
|
|
# comment machine-id (or put 'ignore machine-id' in your links.local) if you want
|
|
# to allow access only to user-configured associated media player
|
|
machine-id
|
|
netfilter
|
|
# comment no3d (or put 'ignore no3d' in your links.local) if you want
|
|
# to allow access only to user-configured associated media player
|
|
no3d
|
|
nodvd
|
|
nogroups
|
|
nonewprivs
|
|
noroot
|
|
# comment nosound (or put 'ignore nosound' in your links.local) if you want
|
|
# to allow access only to user-configured associated media player
|
|
nosound
|
|
notv
|
|
nou2f
|
|
novideo
|
|
protocol unix,inet,inet6
|
|
seccomp
|
|
shell none
|
|
tracelog
|
|
|
|
disable-mnt
|
|
# if you want to use user-configured programs add 'private-bin PROGRAM1,PROGRAM2' to your links.local
|
|
# or append 'PROGRAM1,PROGRAM2' to this private-bin line
|
|
private-bin links,sh
|
|
private-cache
|
|
private-dev
|
|
private-etc alternatives,ca-certificates,crypto-policies,nsswitch.conf,pki,resolv.conf,ssl
|
|
# Uncomment the following line (or put it in your links.local) allow external
|
|
# media players
|
|
# private-etc alsa,asound.conf,machine-id,openal,pulse
|
|
private-tmp
|
|
|
|
memory-deny-write-execute
|