mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
Refactor eog and eom profiles with common redirect (#2708)
* Create eo-common.profile * Refactor eog.profile * Refactor eom.profile * Keep private-bin in eog.profile * Keep private-bin in eom.profile * Place private-bin back in eog/eom profiles
This commit is contained in:
parent
a55cb7f6da
commit
d01b93bbbd
3 changed files with 51 additions and 68 deletions
47
etc/eo-common.profile
Normal file
47
etc/eo-common.profile
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
# Firejail profile for eo-common
|
||||
# Description: Common profile for Eye of GNOME/MATE graphics viewer program
|
||||
# This file is overwritten after every install/update
|
||||
# Persistent local customizations
|
||||
include eo-common.local
|
||||
# Persistent global definitions
|
||||
# already included by caller profile
|
||||
#include globals.local
|
||||
|
||||
noblacklist ${HOME}/.local/share/Trash
|
||||
noblacklist ${HOME}/.Steam
|
||||
noblacklist ${HOME}/.steam
|
||||
|
||||
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 whitelist-var-common.inc
|
||||
|
||||
apparmor
|
||||
caps.drop all
|
||||
ipc-namespace
|
||||
machine-id
|
||||
no3d
|
||||
nodvd
|
||||
nogroups
|
||||
nonewprivs
|
||||
noroot
|
||||
nosound
|
||||
notv
|
||||
nou2f
|
||||
novideo
|
||||
protocol unix,netlink
|
||||
seccomp
|
||||
shell none
|
||||
tracelog
|
||||
|
||||
private-cache
|
||||
private-dev
|
||||
private-etc alternatives,dconf,fonts,gtk-3.0
|
||||
private-lib eog,eom,gdk-pixbuf-2.*,gio,girepository-1.*,gvfs,libgconf-2.so.*
|
||||
private-tmp
|
||||
|
||||
#memory-deny-write-execute - breaks on Arch
|
||||
|
|
@ -6,46 +6,12 @@ include eog.local
|
|||
# Persistent global definitions
|
||||
include globals.local
|
||||
|
||||
noblacklist ${HOME}/.Steam
|
||||
noblacklist ${HOME}/.config/eog
|
||||
noblacklist ${HOME}/.local/share/Trash
|
||||
noblacklist ${HOME}/.steam
|
||||
|
||||
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 whitelist-var-common.inc
|
||||
|
||||
apparmor
|
||||
caps.drop all
|
||||
ipc-namespace
|
||||
machine-id
|
||||
no3d
|
||||
nodvd
|
||||
nogroups
|
||||
nonewprivs
|
||||
noroot
|
||||
nosound
|
||||
notv
|
||||
nou2f
|
||||
novideo
|
||||
protocol unix,netlink
|
||||
seccomp
|
||||
shell none
|
||||
tracelog
|
||||
|
||||
# private-bin, private-etc and private-lib break 'Open With' / 'Open in file manager'
|
||||
# comment those if you need that functionality
|
||||
# or put 'ignore private-bin', 'ignore private-etc' and 'ignore private-lib' in your eog.local
|
||||
private-bin eog
|
||||
private-cache
|
||||
private-dev
|
||||
private-etc alternatives,fonts,gtk-3.0,dconf
|
||||
private-lib eog,gdk-pixbuf-2.*,gio,girepository-1.*,gvfs,libgconf-2.so.*
|
||||
private-tmp
|
||||
|
||||
# memory-deny-write-execute
|
||||
# Redirect
|
||||
include eo-common.profile
|
||||
|
|
|
|||
|
|
@ -6,42 +6,12 @@ include eom.local
|
|||
# Persistent global definitions
|
||||
include globals.local
|
||||
|
||||
noblacklist ${HOME}/.Steam
|
||||
noblacklist ${HOME}/.config/mate/eom
|
||||
noblacklist ${HOME}/.local/share/Trash
|
||||
noblacklist ${HOME}/.steam
|
||||
|
||||
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 whitelist-var-common.inc
|
||||
|
||||
caps.drop all
|
||||
no3d
|
||||
nodvd
|
||||
nogroups
|
||||
nonewprivs
|
||||
noroot
|
||||
nosound
|
||||
notv
|
||||
nou2f
|
||||
novideo
|
||||
protocol unix,netlink
|
||||
seccomp
|
||||
shell none
|
||||
tracelog
|
||||
|
||||
# private-bin, private-etc and private-lib break 'Open With' / 'Open in file manager'
|
||||
# comment those if you need that functionality
|
||||
# or put 'ignore private-bin', 'ignore private-etc' and 'ignore private-lib' in your eom.local
|
||||
private-bin eom
|
||||
private-dev
|
||||
private-etc alternatives,fonts,gtk-3.0,dconf
|
||||
private-lib
|
||||
private-tmp
|
||||
|
||||
#memory-deny-write-execute - breaks on Arch
|
||||
# Redirect
|
||||
include eo-common.profile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue