|
| 1 | +# Firejail profile for metadata-cleaner |
| 2 | +# Description: Python GTK application to view and clean metadata in files, using mat2 |
| 3 | +# This file is overwritten after every install/update |
| 4 | +# Persistent local customizations |
| 5 | +include metadata-cleaner.local |
| 6 | +# Persistent global definitions |
| 7 | +include globals.local |
| 8 | + |
| 9 | +blacklist /usr/libexec |
| 10 | + |
| 11 | +# Allow perl (blacklisted by disable-interpreters.inc) |
| 12 | +include allow-perl.inc |
| 13 | + |
| 14 | +# Allow python3 (blacklisted by disable-interpreters.inc) |
| 15 | +include allow-python3.inc |
| 16 | + |
| 17 | +include disable-common.inc |
| 18 | +include disable-devel.inc |
| 19 | +include disable-exec.inc |
| 20 | +include disable-interpreters.inc |
| 21 | +include disable-programs.inc |
| 22 | +include disable-shell.inc |
| 23 | + |
| 24 | +whitelist /usr/share/metadata-remover |
| 25 | +whitelist /usr/share/perl-image-exiftool |
| 26 | +include whitelist-run-common.inc |
| 27 | +include whitelist-runuser-common.inc |
| 28 | +include whitelist-usr-share-common.inc |
| 29 | +include whitelist-var-common.inc |
| 30 | + |
| 31 | +apparmor |
| 32 | +caps.drop all |
| 33 | +ipc-namespace |
| 34 | +machine-id |
| 35 | +net none |
| 36 | +no3d |
| 37 | +nodvd |
| 38 | +nogroups |
| 39 | +noinput |
| 40 | +nonewprivs |
| 41 | +noprinters |
| 42 | +noroot |
| 43 | +notv |
| 44 | +nou2f |
| 45 | +novideo |
| 46 | +nosound |
| 47 | +protocol unix,netlink |
| 48 | +seccomp |
| 49 | +seccomp.block-secondary |
| 50 | +tracelog |
| 51 | + |
| 52 | +#disable-mnt |
| 53 | +private-bin bash,exiftool,ffmpeg,metadata-cleaner,perl,python,python*,sh,which |
| 54 | +private-cache |
| 55 | +private-dev |
| 56 | +private-etc @x11,mime.types |
| 57 | +private-tmp |
| 58 | + |
| 59 | +dbus-user filter |
| 60 | +dbus-user.own fr.romainvigier.MetadataCleaner |
| 61 | +dbus-user.talk ca.desrt.dconf |
| 62 | +dbus-user.talk org.gtk.vfs.UDisks2VolumeMonitor |
| 63 | +dbus-system none |
| 64 | + |
| 65 | +restrict-namespaces |
0 commit comments