Bug 17536

Summary: /bin/ls does not list files with the name "sc"
Product: [Retired] Red Hat Linux Reporter: Need Real Name <srk>
Component: fileutilsAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: pekkas
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-09-15 12:27:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.