28 Apr
2002
28 Apr
'02
12:56
On Sun, Apr 28, 2002 at 01:28:05PM +0200, Paul Uiterlinden wrote:
Robert C. Paulsen Jr. wrote:
I have a file that is in some bad state. Here is an ls -l:
# ls -l total 32 -rw-r--r-- 1 root 24576 3222302580 Apr 6 1937 kdebase.desktop
If I try to delete it I get an error:
# rm kdebase.desktop rm: cannot unlink `kdebase.desktop': Operation not permitted
Do "lsattr kdebase.desktop". Is the the "i" attribute set? If so, do "chattr -i kdebase.desktop", and you'll be able to remove the file.
That was it. Well, almost -- it wasn't the "i" attribute but the "a" (append only) attribute. Thanks. And thanks to all the others who took the time to reply with good suggestions. -- Robert C. Paulsen, Jr. robert@paulsenonline.net