Successful LS, Unsuccessful RM

2007-12-24 21:46:00

Have you seen this problem before? 'ls -l' can list file, but 'rm' cannot
remove it! I'm trying to delete 'sprcboot.html'

ls -laig sprc*
total 26
170663 drwxr-xr-x 2 cod 512 Jan 28 12:40 .
33056 drwxrwxrwx 17 cod 1024 Jan 30 11:58 ..
170674 -rw-r--r-- 1 cod 417 Oct 11 14:57 decdrvr.html
170673 -rw-r--r-- 1 cod 501 Oct 11 14:57 hba_wwn.html
170672 -rw-r--r-- 1 cod 803 Oct 11 14:57 identify.html
170671 -rw-r--r-- 1 cod 863 Oct 11 14:58 loaddrvr.html
170670 -rw-r--r-- 1 cod 288 Dec 11 09:03 sbusdrvr.html
170669 -rw-r--r-- 1 cod 373 Oct 11 14:58 sparc104x.html
170639 -rw-r--r-- 1 cod 467 Jan 28 12:40 sprcboot.html
170667 -rw-r--r-- 1 cod 333 Oct 11 14:58 suncards.html
170666 -rw-r--r-- 1 cod 629 Oct 11 14:58 sunpatch.html
170665 -rw-r--r-- 1 cod 343 Oct 11 14:58 sunworks.html
170664 -rw-r--r-- 1 cod 468 Oct 11 14:58 webdrvr.html

system% ls sprcboot.html
sprcboot.html: No such file or directory

system% \rm sprcboot.html
sprcboot.html: No such file or directory

Noteworthy, I think, is that 'ls -l' can see the file, whereas a simple
'ls' cannot. I KNOW I've read about this before... but I can't seem to
find a solution to this problem in any of my man pages, online helps,
etc.

Very strange!

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Sumair Mahmood
Unix Systems Administrator
QLogic Corporation

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Comments

Got something to say?

You must be logged in to post a comment.