Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'PATH doesn't seem to be an issue for me' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
PATH doesn't seem to be an issue for me
Authored by: Detrius on Feb 15, '04 12:18:37PM

Take note, however, that adding the current working directory to your $PATH is a serious security risk. If someone finds a way to put a file named 'ls' somewhere on your drive (maybe through guest access/file sharing), and you type ls in that folder as root, then you have excecuted their script as root. This is not a good idea. Just put ./ in front of the filename if you want to run something in the local directory.



[ Reply to This | # ]