If we install to ${HOME}/bin, we can solve the issues detailed in #1902 and #667.
${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.
Most helpful comment
${HOME}/binisn't inPATHby default on most systems. Moreover prepending it inPATHis dangerous as it allows for overwriting i.e.sudo,mountor any other binary with something malicious.