Quoting Francis GALIEGUE <[EMAIL PROTECTED]>:
> Kai Nielsen <[EMAIL PROTECTED]> writes:

> > [root@gloomy log]# rm dmesg 
> > rm: remove `dmesg'? y
> > rm: cannot unlink `dmesg': Die Operation ist nicht erlaubt

> > (rm: cannot unlink `dmesg': Operation not permitted)

> > Why? The init scripts may not write to that file, root cannot do 
> > anything with this file. I don't understand...


> Do a lsattr -d /var/log... My guess is that it's append only...

You are right.
[root@gloomy log]# lsattr -d dmesg 
-----a-- dmesg

I didn't change anything by hand. But the init scripts are broken
with this attributes, because the lines "dmesg > /var/log/dmesg"
won't work. Replace with "dmesg >> /var/log/dmesg" then?

                                        Kai.


-- 
Kai Nielsen, Berlin              Time and again I tell myself
"She turns me on                 I'll stay clean tonight
 But I'm only dancing"           But the little green wheels are following me
                                 Oh no, not again

Reply via email to