Bug 91928 - Files treated as case insensitive
Summary: Files treated as case insensitive
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: bash
Version: 9
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-05-29 21:48 UTC by Seth Foley
Modified: 2007-04-18 16:54 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-05-29 21:53:22 UTC
Embargoed:


Attachments (Terms of Use)

Description Seth Foley 2003-05-29 21:48:45 UTC
Description of problem:
Most shell commands in RH9 accept all arguments without due regard for case. 
This is inconsistent with the default shell, bash, where autocompletion via the
[Tab] key is case sensitive, and with many other GNU/Linux systems where case
sensitivity is the norm.  There are several problems with this:

1. A user must execute two mv commands to change the case of a filename via the
shell.
2. Compatibility with existing GNU/Linux distributions (Mandrake and Debian, for
example) is diminished.

The problem can always be reproduced by executing the following statements in a
Terminal window:

1.  touch file.txt
2.  mv file.txt File.txt

Actual Results:  The shell replies that the files are the same.
Expected Results:  file.txt should have been renamed to File.txt.

I'm aware that there is some controversy about case sensitivity, but it seems
odd to provide a shell that does not wholly accept insensitivity while providing
commands that do.

Comment 1 Tim Waugh 2003-05-29 21:53:22 UTC
I have never (ever) seen this behaviour in bash, or in mv, or indeed in any of
the standard utilities shipped in Red Hat Linux.  Cannot reproduce it on Red Hat
Linux 9.

Comment 2 Tim Waugh 2003-05-29 21:55:46 UTC
Oh, I bet you're using a VFAT filesystem: the *filesystem* is case-insensitive,
by design.  Use ext3.


Note You need to log in before you can comment on or make changes to this bug.