[GH-ISSUE #4351] Sandboxed application can't find program in $PATH #2631

Closed
opened 2026-05-05 09:17:32 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @asakura42 on GitHub (Jun 8, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4351

It seems that firejail looks for programs only in /usr/bin, /sbin etc. But what to do if I keep my browser binary in ~/.local/bin and want to open it from newsboat? I use default profile now, when i try to open link, debug mode outputs sh: line 1: localbrowser: command not found. localbrowser is that binary that I keep in ~/.local/bin and which I use as a link opener

Originally created by @asakura42 on GitHub (Jun 8, 2021). Original GitHub issue: https://github.com/netblue30/firejail/issues/4351 It seems that firejail looks for programs only in /usr/bin, /sbin etc. But what to do if I keep my browser binary in `~/.local/bin` and want to open it from `newsboat`? I use default profile now, when i try to open link, debug mode outputs `sh: line 1: localbrowser: command not found`. `localbrowser` is that binary that I keep in `~/.local/bin` and which I use as a link opener
gitea-mirror 2026-05-05 09:17:32 -06:00
Author
Owner

@rusty-snake commented on GitHub (Jun 9, 2021):

Does --noprofile work?

Add this to your newsboat.local

ignore noexec ${HOME}
<!-- gh-comment-id:857477289 --> @rusty-snake commented on GitHub (Jun 9, 2021): Does `--noprofile` work? Add this to your newsboat.local ``` ignore noexec ${HOME} ```
Author
Owner

@asakura42 commented on GitHub (Jun 9, 2021):

Thank you!

<!-- gh-comment-id:857619977 --> @asakura42 commented on GitHub (Jun 9, 2021): Thank you!
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#2631
No description provided.