[EMAIL PROTECTED] writes:

> [mylinuxbox]# rm -f /var/log/messages
> rm: cannot unlink `/var/log/messages': Operation not permitted Help,

This is a result of the file being marked as immutable (chattr +i /var/log/messages).
You can remove the immutable flag with   chattr -i /var/log/messages

although you usually don't want to remove /var/log/messages. If it's getting too big, 
simply

   echo > /var/log/messages

-- 
Sacha Chua <[EMAIL PROTECTED]> - 4 BS CS Ateneo geekette
interests: emacs, linux, wearables, teaching compsci
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to