[GH-ISSUE #2089] Have firecfg install to ${HOME}/bin instead of /usr/local/bin? #1416

Closed
opened 2026-05-05 08:04:49 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @chiraag-nataraj on GitHub (Aug 20, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2089

If we install to ${HOME}/bin, we can solve the issues detailed in #1902 and #667.

Originally created by @chiraag-nataraj on GitHub (Aug 20, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/2089 If we install to `${HOME}/bin`, we can solve the issues detailed in #1902 and #667.
gitea-mirror 2026-05-05 08:04:49 -06:00
Author
Owner

@Vincent43 commented on GitHub (Aug 20, 2018):

${HOME}/bin isn't in PATH by default on most systems. Moreover prepending it in PATH is dangerous as it allows for overwriting i.e. sudo, mount or any other binary with something malicious.

<!-- gh-comment-id:414445174 --> @Vincent43 commented on GitHub (Aug 20, 2018): `${HOME}/bin` isn't in `PATH` by default on most systems. Moreover prepending it in `PATH` is dangerous as it allows for overwriting i.e. `sudo`, `mount` or any other binary with something malicious.
Author
Owner

@chiraag-nataraj commented on GitHub (Aug 20, 2018):

@Vincent43 Shit. Yeah, you're right. Is there anywhere else we can install it that is per-user?

<!-- gh-comment-id:414447128 --> @chiraag-nataraj commented on GitHub (Aug 20, 2018): @Vincent43 Shit. Yeah, you're right. Is there anywhere else we can install it that is per-user?
Author
Owner

@reinerh commented on GitHub (Aug 21, 2018):

you could let the user decide where he wants to have them installed (so that he could for example run: firecfg --bindir ~/.bin).

<!-- gh-comment-id:414749212 --> @reinerh commented on GitHub (Aug 21, 2018): you could let the user decide where he wants to have them installed (so that he could for example run: `firecfg --bindir ~/.bin`).
Author
Owner

@netblue30 commented on GitHub (Aug 21, 2018):

you could let the user decide where he wants to have them installed (so that he could for example run: firecfg --bindir ~/.bin).

I guess that's the best way to go.

<!-- gh-comment-id:414842686 --> @netblue30 commented on GitHub (Aug 21, 2018): > you could let the user decide where he wants to have them installed (so that he could for example run: firecfg --bindir ~/.bin). I guess that's the best way to go.
Author
Owner

@netblue30 commented on GitHub (Aug 26, 2018):

all set: fc7a9505c5

<!-- gh-comment-id:416054982 --> @netblue30 commented on GitHub (Aug 26, 2018): all set: https://github.com/netblue30/firejail/commit/fc7a9505c56192b5fc0ca62eb51fa7f0d8b1cef8
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#1416
No description provided.