Unable to remove file using 'rm'
Posted
by
Alvin Sim
on Server Fault
See other posts from Server Fault
or by Alvin Sim
Published on 2011-02-09T05:44:06Z
Indexed on
2011/02/09
7:27 UTC
Read the original article
Hit count: 721
Hi all,
In one of our severs (IBM AIX), we have a file in path /data/1002/ which we were not able to remove or delete using the 'rm' command. The error message we got is "rm: A1208001.002: A file or directory in the path name does not exist."
With the "-f" option, no error message was displayed, but the file is still there.
This file has a '0' byte size and when i use the command "touch A120001.002", i see two files with the same file name in that directory.
The directory listing is as below:
$ ls -l total 56 -rwxrwxrwx 1 oracle dba 0 Feb 09 11:57 S1208001.002 drwxrwxrwx 4 nobody dba 24576 Feb 09 13:36 backup
How do I remove this bogus fie?
Thanks.
© Server Fault or respective owner