Quoting Ron Rademaker ([EMAIL PROTECTED]):

> Subject: root should be able to do anything... right???

Err, wrong. Root can ignore ownership and permissions, but that's
about it. Any program that allowed root to do whatever it liked
would be insane.

> Last week I've send a mail about a weird file, that should be a directory
> but it was a character device. (/usr/X11R6/include/X11/fonts). It also had
> weird permissions:
> 
>       c---r-----   1 8224     10280     49, 117 Dec  1  2031 fonts
> 
> Now I'm trying to remove this file, the system won't allow me (yes
> ofcourse I'm root). I've also tried rm -f.
> I've tried to chown the 'file'/'character device' to root and a chmod, the
> only thing I get to see is Operation not permitted.
> 
> Any suggestions???

I agree with Eric. I think you've got a problem on that disk, even if
it's not actually dying. It might be worth checking with fsck or
examining with debugfs. I don't know much about this sort of thing,
but fsck might put the directory's files into lost+found.

Cheers,

-- 
Email:  [EMAIL PROTECTED]   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.

Reply via email to