Re: permission denied on exec of unexistent file?

From: Alessandro Suardi (asuardi@uninetcom.it)
Date: Sat Mar 25 2000 - 21:19:27 EST


Oleg Drokin wrote:
>
> Hello!
>
> I just found something that looks somewhat weird:
> mordor:~$ /bin/nonexistent_binary
> bash: ./nonexistent_binary: Permission denied
> mordor:~$ nonexistent_binary
> bash: nonexistent_binary: command not found
>
> Shouldn't first attempt also say "command not found"?
> BASH_VERSION='2.03.0(1)-release'
> I'm running 2.3.99-pre3

Not a kernel problem (TM).

[asuardi@dogbert asuardi]$ /bin/nonexistent_binary
bash: /bin/nonexistent_binary: No such file or directory
[asuardi@dogbert asuardi]$ uname -a
Linux dogbert 2.3.99-pre3 #1 Sat Mar 25 21:04:46 CET 2000 i586 unknown

Bash here is standard 1.14.7 as per RH6.1.

Ciao,

--alessandro <asuardi@uninetcom.it> <asuardi@it.oracle.com>

Linux 2.2.14/2.3.99-pre3 glibc-2.1.2-11 gcc-2.95.2 binutils-2.9.5.0.31

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:16 EST