Re: permission denied on exec of unexistent file?

From: Christoph Hellwig (chhellwig@gmx.net)
Date: Sat Mar 25 2000 - 16:12:20 EST

  • Next message: uturald olivier: "How can i send information from wireless driver to ..."

    On Sat, Mar 25, 2000 at 09:50:58PM +0200, 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

    Some issue here (smae kernel, same bash)
     
    > Shouldn't first attempt also say "command not found"?

    It should.

    > BASH_VERSION='2.03.0(1)-release'
    > I'm running 2.3.99-pre3

    Seems to be related to the fs/exec.c changes in pre3

    Christoph

    -- 
    Always remember that you are unique.  Just like everyone else.
    

    - 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 : Sat Mar 25 2000 - 16:35:05 EST