News for hackers. Stuff that matters.
Re:What's wrong with having '.' in your $PATH? by cdavid on Sunday November 14, 2010 @06:24AM (#1903051)
While the security issues does not seem as high in "modern" environments (mostly single user systems), I think it is still a significant risk because of the surprise factor.

For example, on my mac, there are > 2000 binaries available in my PATH. I cannot possibly know all of them, and if one binary uses another underlying binary I don't know about, it can be quite surprising. I don't think it worths it (using ./ + tab for completion is faster than typing the name of the binary anyway)

There are no comments on this comment yet.