[BusyBox] [patch] ash tryexec() problem with shell scripts
Jean Wolter
jean.wolter at inf.tu-dresden.de
Mon Sep 1 10:46:28 UTC 2003
"Vladimir N. Oleynik" <dzo at simtreas.ru> writes:
> Jean,
>
> >>I can`t reproduce your problem.
> > Try the following:
>
> > # pwd
> > /
> > # echo "echo argh" > bin/file_in_your_path
> > # chmod +x bin/file_in_your_path
> > # type file_in_your_path
> > file_in_your_path is a tracked alias for /bin/file_in_your_path
> > # file_in_your_path
> > /bin/sh: Can't open file_in_your_path
>
> Have you "r" permision?
Yes. I create my files with read permissions for myself :). Have you
tried the small code snipped? It should clearly show the problem. If I
pass the absolute path to /bin/sh (my suggested patch), it works.
Regards,
Jean
More information about the busybox
mailing list