So, ich habe diese Linux-App (beziehungsweise ist das nicht mal die App sondern nur das Teil, das die App jedesmal aus dem Netz zieht - was ich schon nicht mal sonderlich gelungen halte und alsa Sicherheitsrisiko sehe (unter Arch Linux und anderen ist auch das Auto-Update von hplib verboten) mal gedownloadet. Folgende Fehlermeldung entstehend, wenn ich das in firejail einsperre.

Die Datei knuddels.sh habe ich dahingehend geändert:
Code:
#/bin/bash
firejail --private --overlay java -noverify -client -jar kjupdate.jar


Wenn ich dann die knuddels.sh aufrufe bekomme ich als Ergebnis:
Code:
./knuddels.sh
Warning: default profile disabled by --overlay option
Parent pid 3401, child pid 3402
OverlayFS configured in /home/konrad/.firejail/3401 directory
Warning: cannot mount /tmp/.X11-unix in overlay
Dropping all Linux capabilities and enforcing default seccomp filter
Warning: failed to unmount /sys
Warning: whitelist feature is disabled in overlay
Child process initialized
Error: Unable to access jarfile kjupdate.jar

Parent is shutting down, bye...


Außerdem finde ich ja wirklich die Zugriffsrechte auf die Dateien abenteuerlich:

Code:
ls -la
insgesamt 1432
drwxr-xr-x  2 konrad users    4096 26.11.2016 18:25 ./
drwx------ 41 konrad users   16384 26.11.2016 18:37 ../
-rwxrwxrwx  1 konrad users 1436543 29.04.2016 10:25 kjupdate.jar*
-rwxrwxrwx  1 konrad users      81 26.11.2016 18:36 knuddels.sh*
-rwxrwxrwx  1 konrad users     185 22.06.2016 14:28 Readme.txt*


Sowas macht man unter Unix/Linux einfach nicht!