Our forums are currently in maintenance mode and the ability to post is disabled. We will be back up and running as soon as possible. Thanks for your patience!

General discussion


Unable to delete files in Fedora Core 5

By uppulurivasu ·
I get the following error when I run the command ls -la as root. Unable to delete files.

Please help me out, thanks in advance.

ls: cannot read symbolic link .bash_logout: Input/output error
ls: cannot read symbolic link .bashrc: Input/output error
total 4773904887
drwxrwxrwx 2 root ftpusers 4096 May 15 17:13 .
drwxrwxrwx 3 root root 4096 May 15 16:14 ..
l--Sr-srwT 28**1 3974627592 2226860927 2150126332 Oct 14 2004 .bash_logout
lr--rw---T 11566 1829654924 3485565307 71825**09 Feb 26 1985 .bashrc
d-wx-ws-w- 18857 2144111018 3014495803 2621014401 Apr 19 1940 .canna
?-w---Sr-- 4373 6326127 4202423220 2376990304 Nov 25 1955 .emacs
?--x-wS--- 18631 3386850306 4243458230 1078811936 Jul 31 1905 .gtkrc

Srinivas (

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by Roger In reply to Unable to delete files in ...

Input/output errors indicate either a bad spot on the hard drive or a link is pointing to a missing file. You need to see what file the symbolic link is pointing to (if possible) and confirm that the file exists. If this fails then you should remove the symbolic link and recreate it. Use rm -f filename to remove links, and ln linkname filename to recreate the link. Unfortunately if the HD has a bad sector the only solution I could give would be to back up all files and reformat the hard drive, then restore the backup. For a linux system the best backup method would be to write all data to a different drive using gzip or tar to do the file copy.

Related Discussions

Related Forums