Are there any dangers of extending my PATH, say by adding /Users/me/bin?

1 Answer 1


It is obviously dangerous to add a directory to the PATH where other and potential malicious users can write into, where others can modify existing binaries or where you have symlinks pointing to places which can be modified by others. If instead everything is fully under your own control and only under your control then adding a directory to a PATH is less a problem. Of course, you can still screw up things by placing a binary there with the same name as a common binary but with a different behavior then an existing binary but this is shooting in your own foot.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .