Mailinglist Archive: opensuse (3378 mails)

< Previous Next >
Re: [SLE] Can't delete bogus file
  • From: Paul Uiterlinden <puiterl@xxxxxxxxx>
  • Date: Sun, 28 Apr 2002 13:28:05 +0200
  • Message-id: <3CCBDCC5.6080000@xxxxxxxxx>
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.

Paul.


< Previous Next >