Please revert "ash: make dot command search current directory first, as bash does."

Denys Vlasenko vda.linux at googlemail.com
Tue Jan 10 14:19:28 UTC 2017


done.

On Tue, Jan 10, 2017 at 2:43 PM, Jody Bruchon <jody at jodybruchon.com> wrote:
> On 2017-01-10 3:42 AM, Kang-Che Sung wrote:
>>
>> Please revert commit 8ad78e1ec7b2e873953f9f476fb63b5893526c39
>> "ash: make dot command search current directory first, as bash does."
>>
>> This dot command behavior neither follows bash's behavior nor POSIX's.
>
> It is also a security risk to have the dot command search the current
> directory with the intent of executing anything. If the functionality is
> needed, the user can add '.' to PATH and accept the risks involved
> explicitly.
>
> -Jody
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox


More information about the busybox mailing list