andy at theasis.com wrote:
> 
> 
> I have a "file"  /usr/include/linux which is misbehaving:
> 
> $ ls -l /usr/include/linux
> c--sr-sr-t    1 26736    25601     46, 111 May 11  1999 /usr/include/linux
> 
> I can't remove it or change permissions, either using sudo or a direct
> login as root. Get "permission denied" and "can't unlink". 
> 
> It's *supposed* to be either a directory, or a symlink to one. This isn't
> either a directory or a symlink. 
> 
> Any ideas about how I can axe the thing, given that root can't seem to
> chmod or delet it?
> 
> This is a redhat 7.0 system, upgraded from 6.2 via the 7.0 beta (6.9). I
> suspect that the file was put there as part of the kernel-headers-2.4.??
> by that beta install.

Check /usr/include/linux with lsattr (it's in the e2fsprogs RPM).  It should
say something like:
	PROMPT=> lsattr /usr/include/linux
	-------- /usr/include/linux
	PROMPT=> 

If it doesn't, clear the appropiate bits with chattr...