bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inapplicable "No such file or directory" Message


From: Chet Ramey
Subject: Re: Inapplicable "No such file or directory" Message
Date: Mon, 29 Dec 2003 13:36:31 -0500
User-agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.4) Gecko/20030624

Andrew Piziali wrote:


uname output: Linux elijah2 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002
i686 i686 i386 GNU/Linux
Machine Type: i686-pc-linux-gnu

Bash Version: 2.05b
Patch Level: 0
Release Status: release

Description:
        If bash is unable to create a file (say "abc") using the ">" I/O
        redirection operator because the current working directory is
        not writable, it reports the message:

           bash: abc: No such file or directory

        This is very misleading and cost me several hours of work,
        trying to diagnose a shell program problem.

I get this message when using the /bin/bash shipped by Red Hat with
the same kernel version you're using on RH 8.0.  When I build a version
of bash-2.05b myself on the same system, the error message is
"Permission Denied".  I don't know how Red Hat built /bin/bash, but
I advise you to build your own copy if this issue is important to you.

Chet





reply via email to

[Prev in Thread] Current Thread [Next in Thread]