Opened 13 years ago

Closed 13 years ago

Last modified 13 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:
Has a Patch: no 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 Changed 13 years ago by diver

Cc: diver added

comment:2 Changed 13 years ago by korli

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

comment:3 Changed 13 years ago by korli

Status: newclosed

comment:4 Changed 13 years ago by korli

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