PATH=/usr/local/bin:/bin:/usr/bin considered harmful

Juan Orti Alcaine j.orti.alcaine at gmail.com
Fri Jun 22 08:39:02 UTC 2012


2012/6/22 Sam Varshavchik <mrsam at courier-mta.com>:
> I think that bash needs to be recompiled, with the last two flipped, in the
> default shell PATH.
>

I have hit a similar issue with the tor-arm package. It is executed by
a wrapper script that check if it has been called with /usr/bin/arm,
but because the path ordering, it was called with /bin/arm, which
failed.

I think we should change tha default PATH and put /usr/bin before /bin


More information about the devel mailing list