linux-l: Logfile laesst sich nicht loeschen

Radoy Pavlov defiant_flat at gmx.net
Di Mär 7 17:07:13 CET 2000


On Tue, 07 Mar 2000, you wrote:

> Ich kann sie aber auch nicht von Hand loeschen, und user und group sind 
> beides root
> Warum geht das nicht?

 Es gibt ein komand, das unterschaetz wird (nur nach meiner meinung).
Probiere mit "chattr". Das korekte flag kann ich dir nicht genau sagen.
Also eine suche na flag "+ - i" wird vieleicht helfen.
Ausschnitt von man chattr:
A  file  with the `i' attribute cannot be modified: it cannot be deleted or renamed,
no link can be created to this file and no data can be written to the file.
Only the  superuser can set or clear this attribute.

Das gilt auch fuer root. No rm or mv.

Gruss Radoy
-- 
bash: /dev/earth is 90% full, erase someone
berlin.earth.net: ~# cat /dev/people/myself > /dev/null && halt



Mehr Informationen über die Mailingliste linux-l