PATH priority over actual directory?

Bug #224536 reported by kindofabuzz

This bug report was converted into a question: question #31459: PATH priority over actual directory?.

2
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

i made a directory in my /usr/lib to contain a nightly build of firefox. wehn i cd to that dir and type firefox to run it, it runs the default firefox in my path. i have to actaully make a link with the dir's i want to run the right one. did that make any sense?

Revision history for this message
Artem Popov (artfwo) wrote :

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs .

It's the default behaviour for UNIX systems to exclude current directory from PATH (for security reasons). In order to run files from the current directory you either have to type something like "./firefox" (starting with ./) or specify the full path for the executable.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.