nntp2http.com
Posting
Suche
Optionen
Hilfe & Kontakt

Re: Defekte und unloeschbare Dateien

Von: Lukas Graf (usenet@lukas-graf.ch) [Profil]
Datum: 19.02.2008 14:24
Message-ID: <a2728$47bad877$50db9911$7765@news.hispeed.ch>
Newsgroup: de.comp.os.unix.linux.misc
Wolfgang Klein wrote:

> Selbst als root kann ich diese Dateien nicht löschen.
> [...]

Ergänzend zum schon Gesagten:

| After mounting the partition and trying to rm -rf a directory I got a
| "Cannot remove ... operation not permitted". After googlong a while I
| found about chattr, and although it seems this is a ext2/3 tool I tried it
| and I was able to remove some files after doing a chattr -ia on them. Any
| way, there are some files I'm not able to delete, and they seem to be non
| regular files (links, linux sockets,...). [...]
|
| Solved running reiserfsck --clean-attributes on the unmounted partition,
| and then remounting the partition. After that I'm able to delete
| everything.

Von http://readlist.com/lists/gentoo.org/gentoo-user/14/74136.html

Also trotzdem mal "chattr -ia $file" probieren, *obwohl* sich die Attribute
mit lsattr nicht auslesen lassen [1].

Gruss Lukas

____
[1] Geht aus dieser Quelle nicht hervor, aber ich bin beim Googeln über
einen Fall gestolpert wo sich die Attribute nicht auslesen, aber trotzdem
ändern liessen.

[ Auf dieses Posting antworten ]