Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#569 closed bug (fixed)

[bash] directories hide executables

Reported by: johndrinkwater Owned by: korli
Priority: normal Milestone: R1
Component: - General Version:
Keywords: Cc: diver
Blocked By: Blocking:
Platform: All

Description

A dir with the same name as a command "hides" the executable, example:

/boot/apps>ls -lah | grep sp drwxr-xr-x 1 baron users 2.0K 2006-05-07 12:09 spybmessage

/boot/apps>which spybmessage /boot/home/config/bin/spybmessage

/boot/apps>spybmessage sh: /boot/home/config/bin/spybmessage: Invalid Argument

/boot/apps>mv spybmessage spybmessageMoved

/boot/apps>spybmessage usage: /boot/home/config/bin/spybmessage app [args...]

Change History (4)

comment:1 by diver, 18 years ago

Cc: diver added

comment:2 by korli, 18 years ago

fixed in revision 17372. Though the current PATH isn't used for the search, it should be another bug I think.

comment:3 by korli, 18 years ago

Status: newclosed

comment:4 by korli, 18 years ago

Resolution: fixed
Note: See TracTickets for help on using tickets.