Undeleteable file???

Stephen W. Clarke stephenc-wtWqQT8woy8 at public.gmane.org
Wed Mar 28 16:18:13 UTC 2012


Len,

That did it! Thanks.
I will now review the -i tag for rm. :)

Stephen

> On Wed, Mar 28, 2012 at 11:36:01AM -0400, Stephen W. Clarke wrote:
>> I've deleted a file (rm -f filename) but it keeps showing up with ls.
>> When I try to edit it with vi I get a new file and can even create a
>> second file with the same name. Both files show up with ls. Permissions
>> are 644. Owner is root:root and I'm logged in as root.
>>
>> Has anybody else seen this?
>> The machine is using CentOS 5.7 if that helps.
>
> Are you sure the filename doesn't end in a space or something?
>
> Does rm without -f work for that filename?
>
> How about:
>
> rm -i filename*
>
> --
> Len Sorensen
> --
> The Toronto Linux Users Group.      Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
>


____________________
Stephen W. Clarke
Marketing and Communications Officer
Nray Services Inc.
56A Head Street
Dundas, ON L9H 3H7
CANADA

(905) 627-1302 x14

--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list