[GH-ISSUE #650] Cyberfox #452

Closed
opened 2026-05-05 05:53:48 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @hawkeye116477 on GitHub (Jul 26, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/650

Welcome! When I try to run "firejail cyberfox", appears "/bin/bash: cyberfox: command not found."
I also tried run "firejail ~/Apps/Cyberfox/Cyberfox", shows "Error: Access was denied while trying to open files in your profile directory." Any ideas?

Originally created by @hawkeye116477 on GitHub (Jul 26, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/650 Welcome! When I try to run "firejail cyberfox", appears "/bin/bash: cyberfox: command not found." I also tried run "firejail ~/Apps/Cyberfox/Cyberfox", shows "Error: Access was denied while trying to open files in your profile directory." Any ideas?
gitea-mirror 2026-05-05 05:53:48 -06:00
Author
Owner

@fkarl423 commented on GitHub (Jul 26, 2016):

It seems that cyberfox is not in any of your PATH directories and ~/Apps/Cyberfox/Cyberfox is likely not whitelisted in /etc/firejail/cyberfox.profile.

Either add the path of your cyberfox binary to the PATH variable or whitelist the path of your binary in cyberfox.profile.

<!-- gh-comment-id:235290246 --> @fkarl423 commented on GitHub (Jul 26, 2016): It seems that cyberfox is not in any of your PATH directories and ~/Apps/Cyberfox/Cyberfox is likely not whitelisted in /etc/firejail/cyberfox.profile. Either add the path of your cyberfox binary to the PATH variable or whitelist the path of your binary in cyberfox.profile.
Author
Owner

@hawkeye116477 commented on GitHub (Jul 26, 2016):

I tried both solutions, but it didn't help.

<!-- gh-comment-id:235336407 --> @hawkeye116477 commented on GitHub (Jul 26, 2016): I tried both solutions, but it didn't help.
Author
Owner

@netblue30 commented on GitHub (Jul 27, 2016):

Do like this:

Create ~/.config/firejail directory:

$ mkdir ~/.config/firejail

Open a text editor and save this text into ~/.config/firejail/Cyberfox.profile file:

# Firejail profile for Cyberfox (based on Mozilla Firefox)

noblacklist ~/.8pecxstudios/cyberfox
noblacklist ~/.cache/8pecxstudios
include /etc/firejail/disable-common.inc
include /etc/firejail/disable-programs.inc
include /etc/firejail/disable-devel.inc

caps.drop all
netfilter
nonewprivs
noroot
protocol unix,inet,inet6,netlink
seccomp
tracelog

whitelist ${DOWNLOADS}
mkdir ~/.8pecxstudios
whitelist ~/.8pecxstudios
mkdir ~/.cache
mkdir ~/.cache/8pecxstudios
mkdir ~/.cache/8pecxstudios/cyberfox
whitelist ~/.cache/8pecxstudios/cyberfox
whitelist ~/dwhelper
whitelist ~/.zotero
whitelist ~/.vimperatorrc
whitelist ~/.vimperator
whitelist ~/.pentadactylrc
whitelist ~/.pentadactyl
whitelist ~/.keysnail.js
whitelist ~/.config/gnome-mplayer
whitelist ~/.cache/gnome-mplayer/plugin
whitelist ~/.pki

# lastpass, keepassx
whitelist ~/.keepassx
whitelist ~/.config/keepassx
whitelist ~/keepassx.kdbx
whitelist ~/.lastpass
whitelist ~/.config/lastpass


#silverlight
whitelist ~/.wine-pipelight
whitelist ~/.wine-pipelight64
whitelist ~/.config/pipelight-widevine
whitelist ~/.config/pipelight-silverlight5.1
witelist ~/Apps
include /etc/firejail/whitelist-common.inc

Run cyberfox:

$ firejail ~/Apps/Cyberfox/Cyberfox
<!-- gh-comment-id:235703303 --> @netblue30 commented on GitHub (Jul 27, 2016): Do like this: Create ~/.config/firejail directory: ``` $ mkdir ~/.config/firejail ``` Open a text editor and save this text into ~/.config/firejail/Cyberfox.profile file: ``` # Firejail profile for Cyberfox (based on Mozilla Firefox) noblacklist ~/.8pecxstudios/cyberfox noblacklist ~/.cache/8pecxstudios include /etc/firejail/disable-common.inc include /etc/firejail/disable-programs.inc include /etc/firejail/disable-devel.inc caps.drop all netfilter nonewprivs noroot protocol unix,inet,inet6,netlink seccomp tracelog whitelist ${DOWNLOADS} mkdir ~/.8pecxstudios whitelist ~/.8pecxstudios mkdir ~/.cache mkdir ~/.cache/8pecxstudios mkdir ~/.cache/8pecxstudios/cyberfox whitelist ~/.cache/8pecxstudios/cyberfox whitelist ~/dwhelper whitelist ~/.zotero whitelist ~/.vimperatorrc whitelist ~/.vimperator whitelist ~/.pentadactylrc whitelist ~/.pentadactyl whitelist ~/.keysnail.js whitelist ~/.config/gnome-mplayer whitelist ~/.cache/gnome-mplayer/plugin whitelist ~/.pki # lastpass, keepassx whitelist ~/.keepassx whitelist ~/.config/keepassx whitelist ~/keepassx.kdbx whitelist ~/.lastpass whitelist ~/.config/lastpass #silverlight whitelist ~/.wine-pipelight whitelist ~/.wine-pipelight64 whitelist ~/.config/pipelight-widevine whitelist ~/.config/pipelight-silverlight5.1 witelist ~/Apps include /etc/firejail/whitelist-common.inc ``` Run cyberfox: ``` $ firejail ~/Apps/Cyberfox/Cyberfox ```
Author
Owner

@hawkeye116477 commented on GitHub (Jul 28, 2016):

Thanks, after this, displayed "Error access was denied...", but I fixed this by changing line: "noblacklist ~/.8pecxstudios/cyberfox" to "noblacklist ~/.8pecxstudios" and now work correctly.

<!-- gh-comment-id:235847141 --> @hawkeye116477 commented on GitHub (Jul 28, 2016): Thanks, after this, displayed "Error access was denied...", but I fixed this by changing line: "noblacklist ~/.8pecxstudios/cyberfox" to "noblacklist ~/.8pecxstudios" and now work correctly.
Author
Owner

@netblue30 commented on GitHub (Jul 28, 2016):

Thanks, I put the "noblacklist" in git also.

<!-- gh-comment-id:235877978 --> @netblue30 commented on GitHub (Jul 28, 2016): Thanks, I put the "noblacklist" in git also.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#452
No description provided.