Firejail: Have firecfg install to ${HOME}/bin instead of /usr/local/bin?

Created on 20 Aug 2018  路  5Comments  路  Source: netblue30/firejail

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

enhancement

Most helpful comment

${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.

All 5 comments

${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.

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

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

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nuxwin picture nuxwin  路  3Comments

fl-chris picture fl-chris  路  4Comments

HulaHoopWhonix picture HulaHoopWhonix  路  4Comments

francoism90 picture francoism90  路  4Comments

Vincent43 picture Vincent43  路  3Comments