Cannot remove files with any rm commands

Bliss, Aaron ABliss at preferredcare.org
Wed Dec 21 18:53:29 UTC 2005


Is the immutable bit set on the directory?

-----Original Message-----
From: Gavin McDonald [mailto:gavitron at gmail.com] 
Sent: Wednesday, December 21, 2005 11:46 AM
To: 'General Red Hat Linux discussion list'
Subject: RE: Cannot remove files with any rm commands

Just a hunch, but have you checked your file system lately?  I've seen this
kind of behaviour before with unmarked physical damage.

remount the filesystem read-only, and fsck.

if fsck reports nothing, I'm gladly mistaken.  :)  (Nobody likes f/s damage)

Regards,

Gavin McDonald
========================
EVI Logistic Enterprises
email: me at gavitron.com
phone: (604) 313-3845


> -----Original Message-----
> From: redhat-list-bounces at redhat.com [mailto:redhat-list- 
> bounces at redhat.com] On Behalf Of Andrew.Bridgeman at corusgroup.com
> Sent: Wednesday, December 21, 2005 2:04 AM
> To: redhat-list at redhat.com
> Subject: Cannot remove files with any rm commands
> 
> 
> 
> 
> I have a weird situation where i have three directories that i need to 
> remove but when i do a rm -rf it just says "cannot remove directory - 
> Directory not empty" even with 777 permission's on it.
> I think i have a problem with a couple of files that live in the 
> directories because when i CD to the directory with the files in. If i 
> do an ls i can see the name of the file but if i do ls -al i get an error
"
> Cannot access No such file or directory".
> 
> I have tried renaming, moving but had no luck and i need to clear this 
> directory structure to carry on doing some more work.
> 
> Has anybody seen this before and how can i rectify this problem? Any 
> help is much appreciated.
> 
> Regards
> 
> [IMAGE](Embedded image moved to file: pic09161.jpg)
> **********************************************************************
> This transmission is confidential and must not be used or disclosed by 
> anyone other than the intended recipient. Neither Corus Group Plc nor 
> any of its subsidiaries can accept any responsibility for any use or 
> misuse of the transmission by anyone.
> **********************************************************************

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


www.preferredcare.org
"An Outstanding Member Experience," Preferred Care HMO Plans -- J. D. Power and Associates

Confidentiality Notice:
The information contained in this electronic message is intended for the exclusive use of the individual or entity named above and may contain privileged or confidential information.  If the reader of this message is not the intended recipient or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that dissemination, distribution or copying of this information is prohibited.  If you have received this communication in error, please notify the sender immediately by telephone and destroy the copies you received.





More information about the redhat-list mailing list