Re: strange directory problem

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

 



On Sat, 2006-07-22 at 13:24 +0800, Kelvin Cheung wrote:
> hello,erverbody.
> I met a strange problem. When creat a directory with all letters 
> capitalized, the system will turn it into all small letters.
> 
> [root@localhost doc]# mkdir DOC
> [root@localhost doc]# ls
> doc
> 
> This often make mistakes when I compile programs. 
> Please help me, thanks very much.

Three things come to mind (in order of decreasing likelihood).

1) Is it an unusual (eg. Windows-centric) filesystem you are creating
the directory on? It may not be a filesystem that supports case-senstive
filenames. To test, try the same thing on an ext3 filesystem.

2) I think there is a shell variable that can cause this. However, after
having a look, it would appear the variable (nocaseglob) is only
relevant to shell globs for files, so should not affect a default "ls".

3) Maybe something bizarre to do with LANG or LOCALE settings? Does it
occur for mixed-vase directories? Eg. mkdir MIXEDcase; ls

Cheers, Ben

Ben Stringer ===== ben@xxxxxxxxxxx
==================================


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux