[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bash does not recognize filenames with spaces unless root/su
From: |
Oleg Goldshmidt |
Subject: |
bash does not recognize filenames with spaces unless root/su |
Date: |
Tue, 26 Dec 2000 18:13:29 +0200 |
Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu'
-DCONF_VENDOR='redhat' -DSHELL -DHAVE_CONFIG_H -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -I. -I. -I./include -I./lib -I/usr/include -O2
-march=i386 -mcpu=i686
uname output: Linux erwin 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i686 unknown
Machine Type: i386-redhat-linux-gnu
Bash Version: 2.04
Patch Level: 11
Release Status: release
Description:
[Detailed description of the problem, suggestion, or complaint.]
On an i686 running Red Hat Linux 7.0 bash cannot recognize
filenames or directories that have spaces, unless I am root/su.
This does not happen in ksh, zsh, or tcsh, so it looks like a bug
in bash.
Repeat-By:
[Describe the sequence of events that causes the problem
to occur.]
$ mkdir "Foo Bar"
$ cd Foo\ Bar/
bash: cd: Foo: No such file or directory
$ su
Password:
# cd Foo\ Bar/
/home/oleg/tmp/Foo Bar
Fix:
[Description of how to fix the problem. If you don't know a
fix for the problem, don't include this section.]
- bash does not recognize filenames with spaces unless root/su,
Oleg Goldshmidt <=