[olug] more chattr

mesc mescie at home.com
Sun Sep 17 05:26:33 UTC 2000


Ok so you'd only want  to chattr +i a file that you wouldn't mind a user to
read and  write  but not delete .....correct?


            Gary Martin

Vincent wrote:

> mesc wrote:
> >
> > I've read the chattr man page and one thing still  confuses me,with the
> > +i option it says no data can be written to it so how can that option
> > be used  on a log file?
> >
> >             Confused,Gary Martin :)
> >
> > ---------------------------------------------------------------------
> >
>
> The only reason I can think of is to use immutable on a log file is for
> archived logs.  ie.  /var/log/messages.3
>
> There may be a way to do that in the logrotate scripts.
>
> I suppose you could use append-only for the active log file though.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: olug-unsubscribe at bstc.net
> For additional commands, e-mail: olug-help at bstc.net


---------------------------------------------------------------------
To unsubscribe, e-mail: olug-unsubscribe at bstc.net
For additional commands, e-mail: olug-help at bstc.net



More information about the OLUG mailing list