mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
New profiles for alacarte,tootle,photoflare (#3816)
* New profiles for alacarte,tootle,photoflare * Fix dbus Co-authored-by: kortewegdevries <kortewegdevries@protonmail.ch>
This commit is contained in:
parent
7103d92c35
commit
f3056a862a
5 changed files with 173 additions and 0 deletions
|
|
@ -188,6 +188,7 @@ blacklist ${HOME}/.config/chromium-flags.conf
|
|||
blacklist ${HOME}/.config/clipit
|
||||
blacklist ${HOME}/.config/cliqz
|
||||
blacklist ${HOME}/.config/cmus
|
||||
blacklist ${HOME}/.config/com.github.bleakgrey.tootle
|
||||
blacklist ${HOME}/.config/corebird
|
||||
blacklist ${HOME}/.config/cower
|
||||
blacklist ${HOME}/.config/darktable
|
||||
|
|
|
|||
64
etc/profile-a-l/alacarte.profile
Normal file
64
etc/profile-a-l/alacarte.profile
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
# Firejail profile for alacarte
|
||||
# Description: Create desktop and menu launchers easily
|
||||
# This file is overwritten after every install/update
|
||||
# Persistent local customizations
|
||||
include alacarte.local
|
||||
# Persistent global definitions
|
||||
include globals.local
|
||||
|
||||
include allow-python2.inc
|
||||
include allow-python3.inc
|
||||
|
||||
include disable-common.inc
|
||||
include disable-devel.inc
|
||||
include disable-exec.inc
|
||||
include disable-interpreters.inc
|
||||
include disable-programs.inc
|
||||
include disable-passwdmgr.inc
|
||||
include disable-xdg.inc
|
||||
|
||||
# Whitelist your system icon directory,varies by distro
|
||||
whitelist /usr/share/alacarte
|
||||
whitelist /usr/share/app-info
|
||||
whitelist /usr/share/desktop-directories
|
||||
whitelist /usr/share/icons
|
||||
whitelist /var/lib/app-info/icons
|
||||
whitelist /var/lib/flatpak/exports/share/applications
|
||||
whitelist /var/lib/flatpak/exports/share/icons
|
||||
include whitelist-runuser-common.inc
|
||||
include whitelist-usr-share-common.inc
|
||||
include whitelist-var-common.inc
|
||||
|
||||
apparmor
|
||||
caps.drop all
|
||||
machine-id
|
||||
net none
|
||||
nodvd
|
||||
no3d
|
||||
nogroups
|
||||
nonewprivs
|
||||
noroot
|
||||
nosound
|
||||
notv
|
||||
nou2f
|
||||
novideo
|
||||
protocol unix
|
||||
seccomp
|
||||
seccomp.block-secondary
|
||||
shell none
|
||||
tracelog
|
||||
|
||||
disable-mnt
|
||||
private-bin alacarte,bash,python*,sh
|
||||
private-cache
|
||||
private-dev
|
||||
private-etc alternatives,dconf,fonts,gtk-3.0,locale.alias,locale.conf,login.defs,mime.types,nsswitch.conf,passwd,pki,X11,xdg
|
||||
private-tmp
|
||||
|
||||
dbus-user none
|
||||
dbus-system none
|
||||
|
||||
read-write ${HOME}/.config/menus
|
||||
read-write ${HOME}/.gnome/apps
|
||||
read-write ${HOME}/.local/share/applications
|
||||
read-write ${HOME}/.local/share/flatpak/exports
|
||||
55
etc/profile-a-l/com.github.bleakgrey.tootle.profile
Normal file
55
etc/profile-a-l/com.github.bleakgrey.tootle.profile
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
# Firejail profile for com.github.bleakgrey.tootle
|
||||
# Description: Gtk Mastodon client
|
||||
# This file is overwritten after every install/update
|
||||
# Persistent local customizations
|
||||
include com.github.bleakgrey.tootle.local
|
||||
# Persistent global definitions
|
||||
include globals.local
|
||||
|
||||
noblacklist ${HOME}/.config/com.github.bleakgrey.tootle
|
||||
|
||||
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-shell.inc
|
||||
include disable-xdg.inc
|
||||
|
||||
mkdir ${HOME}/.config/com.github.bleakgrey.tootle
|
||||
whitelist ${DOWNLOADS}
|
||||
whitelist ${HOME}/.config/com.github.bleakgrey.tootle
|
||||
include whitelist-common.inc
|
||||
include whitelist-runuser-common.inc
|
||||
include whitelist-usr-share-common.inc
|
||||
include whitelist-var-common.inc
|
||||
|
||||
apparmor
|
||||
caps.drop all
|
||||
machine-id
|
||||
netfilter
|
||||
nodvd
|
||||
nogroups
|
||||
nonewprivs
|
||||
noroot
|
||||
notv
|
||||
nou2f
|
||||
novideo
|
||||
protocol unix,inet,inet6
|
||||
seccomp
|
||||
shell none
|
||||
tracelog
|
||||
|
||||
disable-mnt
|
||||
private-bin com.github.bleakgrey.tootle
|
||||
private-cache
|
||||
private-dev
|
||||
private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,dconf,fonts,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,machine-id mime.types,nsswitch.conf,pki,pulse,resolv.conf,ssl,X11,xdg
|
||||
private-tmp
|
||||
|
||||
# Settings are immutable
|
||||
# dbus-user filter
|
||||
# dbus-user.own com.github.bleakgrey.tootle
|
||||
# dbus-user.talk ca.desrt.dconf
|
||||
dbus-system none
|
||||
50
etc/profile-m-z/photoflare.profile
Normal file
50
etc/profile-m-z/photoflare.profile
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
# Firejail profile for photoflare
|
||||
# Description: Simple painting and editing program
|
||||
# This file is overwritten after every install/update
|
||||
# Persistent local customizations
|
||||
include photoflare.local
|
||||
# Persistent global definitions
|
||||
include photoflare.local
|
||||
|
||||
noblacklist ${PICTURES}
|
||||
|
||||
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-shell.inc
|
||||
include disable-xdg.inc
|
||||
|
||||
include whitelist-runuser-common.inc
|
||||
include whitelist-usr-share-common.inc
|
||||
include whitelist-var-common.inc
|
||||
|
||||
apparmor
|
||||
caps.drop all
|
||||
machine-id
|
||||
net none
|
||||
nodvd
|
||||
no3d
|
||||
nogroups
|
||||
nonewprivs
|
||||
noroot
|
||||
nosound
|
||||
notv
|
||||
nou2f
|
||||
novideo
|
||||
protocol unix
|
||||
seccomp
|
||||
shell none
|
||||
tracelog
|
||||
|
||||
disable-mnt
|
||||
private-bin photoflare
|
||||
private-cache
|
||||
private-dev
|
||||
private-etc alternatives,fonts,locale,locale.alias,locale.conf,mime.types,X11
|
||||
private-tmp
|
||||
|
||||
dbus-user none
|
||||
dbus-system none
|
||||
|
|
@ -34,6 +34,7 @@ abiword
|
|||
abrowser
|
||||
akonadi_control
|
||||
akregator
|
||||
alacarte
|
||||
amarok
|
||||
amule
|
||||
amuled
|
||||
|
|
@ -140,6 +141,7 @@ cmus
|
|||
code
|
||||
code-oss
|
||||
cola
|
||||
com.github.bleakgrey.tootle
|
||||
com.github.dahenson.agenda
|
||||
com.github.johnfactotum.Foliate
|
||||
com.gitlab.newsflash
|
||||
|
|
@ -582,6 +584,7 @@ pdfsam
|
|||
pdftotext
|
||||
peek
|
||||
penguin-command
|
||||
photoflare
|
||||
picard
|
||||
pidgin
|
||||
#ping - disabled until we fix #1912
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue