bug-coreutils
[Top][All Lists]
Advanced

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

Re: bug in /bin/ls


From: Steven Augart
Subject: Re: bug in /bin/ls
Date: Wed, 1 Oct 2003 17:40:55 -0400


I have been working with the bug reporter.  I believe he somehow got his system in an odd state

where it was using the ls from fileutils 4.0x instead of the ls from coreutils 4.5.3, which Red Hat 9 ships with.

I don't think it's worth chasing this one, since I did a little search on google for "fileutils 4.0x" and

 the first item that pops up is "WARNING fileutils 4.0x-1 severely broken".

The reporter compiled coreutils 5.0; the ls from that version of coreutils works fine.  

--Steve Augart



Craig Bourne <address@hidden>
Sent by: address@hidden

09/30/2003 08:16 PM
Please respond to cbourne

       
        To:        address@hidden
        cc:        
        Subject:        bug in /bin/ls



I am running RedHat Linux 9.0
Linux version 2.4.20-6 (address@hidden) (gcc version
3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Feb 27 10:06:59 EST 2003

I find that files which have names starting with the characters hp are
invisible to /bin/ls ( also to /usr/bin/find but not to /usr/bin/file ).

The following sequence should illustrate:

address@hidden craig]$ mkdir junk
address@hidden craig]$ cd junk
address@hidden junk]$ >somefile
address@hidden junk]$ mkdir somedir
address@hidden junk]$ >hp
address@hidden junk]$ >hpsomefile
address@hidden junk]$ ls
somedir  somefile
address@hidden junk]$ find .
.
./somefile
./somedir
address@hidden junk]$ file *
hp:         empty
hpsomefile: empty
somedir:    directory
somefile:   empty
address@hidden junk]$ rm hp
address@hidden junk]$ ls
somedir  somefile
address@hidden junk]$ file *
hpsomefile: empty
somedir:    directory
somefile:   empty
address@hidden junk]$ mkdir hp
address@hidden junk]$ mkdir hpsomedir
address@hidden junk]$ ls
somedir  somefile
address@hidden junk]$ find .
.
./somefile
./somedir
address@hidden junk]$ file *
hp:         directory
hpsomedir:  directory
hpsomefile: empty
somedir:    directory
somefile:   empty
address@hidden junk]$ which -a find
/usr/bin/find
address@hidden junk]$ which -a file
/usr/bin/file
address@hidden junk]$ which -a ls
alias ls='ls --color=tty'
       /bin/ls
address@hidden junk]$ which ls
alias ls='ls --color=tty'
       /bin/ls
address@hidden junk]$ ls --version
ls (GNU fileutils) 4.0x
Written by Richard Stallman and David MacKenzie.

Copyright (C) 2000 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
address@hidden junk]$ find --version
GNU find version 4.1
address@hidden junk]$ file --version
file-3.39
magic file from /usr/share/magic

Let me know if I can be of further help with diagnosis of this problem.

Best Regards,
Craig Bourne




_______________________________________________
Bug-coreutils mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/bug-coreutils


reply via email to

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