[GH-ISSUE #1480] firecfg error if /usr/local/bin does not exist #992

Closed
opened 2026-05-05 07:16:34 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @MiscDev on GitHub (Aug 19, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1480

Some modern distros like Solus do not have a /usr/local directory by default.

Running sudo firecfg results in error messages if /usr/local/bin does not exist. Should firecfg create the folder if it isn't there?

Originally created by @MiscDev on GitHub (Aug 19, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1480 Some modern distros like [Solus](https://solus-project.com/) do not have a /usr/local directory by [default](https://www.reddit.com/r/SolusProject/comments/6u3txx/no_usrlocal_hierarchy_on_solus/). Running `sudo firecfg` results in error messages if /usr/local/bin does not exist. Should firecfg create the folder if it isn't there?
gitea-mirror 2026-05-05 07:16:34 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SkewedZeppelin commented on GitHub (Aug 19, 2017):

Even if it creates it, won't it not be in the PATH? So then it'll also have to edit or ask the user to edit /etc/profile. But then where will it place it? And if it does it automatically then there are issues with placement and what not. Adding a firejail specific path could close this and this

<!-- gh-comment-id:323518101 --> @SkewedZeppelin commented on GitHub (Aug 19, 2017): Even if it creates it, won't it not be in the PATH? So then it'll also have to edit or ask the user to edit /etc/profile. But then where will it place it? And if it does it automatically then there are issues with placement and what not. Adding a firejail specific path could close this and [this](https://github.com/netblue30/firejail/issues/1450#issuecomment-321440484)
Author
Owner

@netblue30 commented on GitHub (Aug 19, 2017):

I think they already have it in $PATH. This is our bug. Fixed in git: ecf0794d2e

<!-- gh-comment-id:323519316 --> @netblue30 commented on GitHub (Aug 19, 2017): I think they already have it in $PATH. This is our bug. Fixed in git: https://github.com/netblue30/firejail/commit/ecf0794d2eae0201e9888e7b9228f8fef3e94fc6
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#992
No description provided.