I've installed debian package locally. I randomly chose Opera, extracted via dkpg -x opera-x.y.z.deb ~/bin/opera_package, and created a symlink in my user's ~/bin folder (which is in the user's path).
Attempting to run in side firejail
$ firejail opera
Reading profile /etc/firejail/opera.profile
Reading profile /etc/firejail/disable-mgmt.inc
Reading profile /etc/firejail/disable-secret.inc
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/whitelist-common.inc
Parent pid 14762, child pid 14763
Child process initialized
/bin/bash: opera: command not found
parent is shutting down, bye...
If I try to run using absolute path (from my home folder):
$ firejail /bin/local_packages/opera/usr/lib/x86_64-linux-gnu/opera/opera
Reading profile /etc/firejail/opera.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/whitelist-common.inc
Parent pid 15796, child pid 15797
Child process initialized
/bin/bash: /bin/local_packages/opera/usr/lib/x86_64-linux-gnu/opera/opera: No such file or directory
Parent is shutting down, bye...
The browser GUI never starts up and the CLI reports the process DOA. I'm assuming I need to adjust the disable-common.inc
# grep -Rin 'bin' .
./disable-common.inc:125:# The user ~/bin directory can override commands such as ls
./disable-common.inc:126:read-only ${HOME}/bin
My Question(s):
- How can I run local applications through firejail?
- Is there a profile for local apps?
- Do I need to edit disable-common.profile?
- Is there a CL option to allow folders?
- Do I just select a different folder than
~/bin/?
My Goals:
I'd like to...
- sandbox applications cloned from github.com after they are compiled
- keep both source and binary in my user folder
- not have to
sudoat any point (outside of installingfirejail)