> >     After some hard drive corruption (due to a crash) I have several files
> > that look like:

This file is marked as a block special file which only root can remove.
You can try doing 'chmod 0664 media' (with the leading 0) and see what
happens... but if a crash changed a bunch of files over to block special..
yer simplest solution is to toss em (as root) and forget about it ;)

Why did they become block special files? <shrug> note the major and minor
numbers tho.. and the user:group settings. Looks like data corruption.
Just toss em ;)

Again, only root can manipulate files like this :)

> > b--xr-x--t    1 27740    25193     98, 105 Aug 11  2027 media
> >
> > even as root, rm & chmod, do not work.  What next?
> >
>
> Since this is a result of a crash and the perms are obviously well stuffed
> could it be that the attributes are stuffed as well?  Does 'lsattr' show the
> immutable or append only bits being set?  Ditto for the permissions and
> attributs of the treaves directory itself.  Assuming yes - remove them with
> 'chattr' and try again?  Anyway - just another thing to check out. :)
>
> M.
>
>
>

-- 
-Statux



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to