Bug 17536 - /bin/ls does not list files with the name "sc"
Summary: /bin/ls does not list files with the name "sc"
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: fileutils
Version: 6.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-09-15 12:27 UTC by Need Real Name
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2000-09-15 12:27:32 UTC


Attachments (Terms of Use)

Description Need Real Name 2000-09-15 12:27:30 UTC
A script of creating a file named "sc":

srk@srk:~/foo$ cat > sc   
Hello
<CTRL-D>
srk@srk:~/foo$ ls
srk@srk:~/foo$ cat sc
Hello
srk@srk:~/foo$ echo *
sc
srk@srk:~/foo$ ls -al
total 6
drwxr-xr-x   2 srk      users        1024 Sep 15 12:27 .
drwxr-xr-x  63 srk      users        5120 Sep 15 12:24 ..

ls also ignores directories called sc (not too surprising really)

Comment 1 Pekka Savola 2000-09-15 23:01:29 UTC
Are you sure your system has not be compromised?

This works fine in my RH6.0 w/ fileutils-4.0-1.



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