Skip to content

Commit

Permalink
Create bcompare.profile
Browse files Browse the repository at this point in the history
  • Loading branch information
tredondo committed Mar 14, 2021
1 parent c82aae7 commit 3e2a58f
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions etc/profile-a-l/bcompare.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Firejail profile for Scootersoft Beyond Compare
# Description: directory compare and file compare utility
# Disables the network, which only impacts checking for updates.
# This file is overwritten after every install/update

# Persistent local customizations
include bcompare.local
# Persistent global definitions
include globals.local

include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-passwdmgr.inc
# Allow comparing e.g. Firefox profile files
# include disable-programs.inc
# Uncommenting this breaks launch
# include disable-shell.inc
include disable-write-mnt.inc
include disable-xdg.inc

# include whitelist-common.inc
# include whitelist-runuser-common.inc
# include whitelist-usr-share-common.inc
# include whitelist-var-common.inc

#allusers
apparmor
caps.drop all
# ipc-namespace
machine-id
net none
no3d
# nodvd
nogroups
nonewprivs
noroot
# nosound
notv
nou2f
novideo
protocol unix
seccomp
# shell none
# tracelog

# disable-mnt
# private
# private-bin program
private-cache
private-dev
# see /usr/share/doc/firejail/profile.template for more common private-etc paths.
# private-etc alternatives,fonts,machine-id
# private-lib
# private-opt none
# Necessary because of the `include disable-exec.inc` line. Prevents error "Error fstat: fs.c:504 fs_remount_simple: Transport endpoint is not connected ... cannot sync with peer: unexpected EOF Peer [...] unexpectedly exited with status 1"
private-tmp

# dbus-user none
# dbus-system none

# memory-deny-write-execute
noexec ${HOME}
# read-only ${HOME}

0 comments on commit 3e2a58f

Please sign in to comment.