Date: Wed, 17 Jul 1996 17:14:26 -0400 (EDT) From: Chuck Robey <chuckr@Glue.umd.edu> To: Todd Graham Lewis <tlewis@mindspring.com> Cc: lists-freebsd-hackers@matlock.mindspring.com Subject: Re: help: immutable files, logs Message-ID: <Pine.OSF.3.91.960717171240.26187B-100000@channel.eng.umd.edu> In-Reply-To: <Pine.LNX.3.91.960717161119.29076V-100000-100000-100000@reflections.mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 17 Jul 1996, Todd Graham Lewis wrote: > We are looking at tidying up our log process, and we'd like to use the > immutable attribute to protect our log files. The problem, of course, is > that if a log file is immutable, then you can't write to it. > > Does anyone have any pointers or FMs I should R? I would assume that you > just place the logs in rotation and set the immutable bit upon rotation, > or is there something I'm missing? You don't have to use the schg flag. The sappnd and uappnd append-only flags seem ideal for what you want to do. Why don't you take a look at the chflags(1) man page? ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@eng.umd.edu | communications topic, C programming, and Unix. 9120 Edmonston Ct #302 | Greenbelt, MD 20770 | I run Journey2 and n3lxx, both FreeBSD (301) 220-2114 | version 2.2 current -- and great FUN! ----------------------------+-----------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.91.960717171240.26187B-100000>