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

Sam Varshavchik mrsam at courier-mta.com
Fri Jun 22 22:16:03 UTC 2012


Michael Schwendt writes:

>
> # whereis ldconfig
> ldconfig: /sbin/ldconfig /usr/sbin/ldconfig /usr/share/man/man8/ldconfig.8.gz
>
> /sbin is before /usr/sbin in $PATH.

Only for root.

rpm stuff does not get built as root.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20120622/6fd7d54f/attachment.sig>


More information about the devel mailing list