From owner-freebsd-hackers Wed Jul 17 13:18:18 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA16070 for hackers-outgoing; Wed, 17 Jul 1996 13:18:18 -0700 (PDT) Received: from matlock.mindspring.com (matlock.mindspring.com [204.180.128.10]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA16060 for ; Wed, 17 Jul 1996 13:18:15 -0700 (PDT) Received: from answerman.mindspring.com (answerman.mindspring.com [204.180.128.8]) by matlock.mindspring.com (8.6.12/8.6.9) with ESMTP id QAA08314 for ; Wed, 17 Jul 1996 16:18:13 -0400 Received: from borg.mindspring.com (borg.mindspring.com [204.180.128.14]) by answerman.mindspring.com (8.6.12/8.6.12) with ESMTP id QAA26813 for ; Wed, 17 Jul 1996 16:18:13 -0400 Received: from mule2.mindspring.com (mule2.mindspring.com [204.180.128.168]) by borg.mindspring.com (8.6.12/8.6.12) with ESMTP id QAA24281 for ; Wed, 17 Jul 1996 16:18:09 -0400 Received: (from news@localhost) by mule2.mindspring.com (8.6.12/8.6.12) id QAA103710; Wed, 17 Jul 1996 16:18:08 -0400 To: lists-freebsd-hackers@matlock.mindspring.com Path: reflections.mindspring.com!tlewis From: Todd Graham Lewis Newsgroups: lists.freebsd.hackers Subject: help: immutable files, logs Date: Wed, 17 Jul 1996 16:18:06 -0400 Organization: MindSpring Enterprises Lines: 16 Message-ID: NNTP-Posting-Host: reflections.mindspring.com Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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? Feel free to reply via email if you want to avoid list clutter. TIA. _____________________________________________________________________ Todd Graham Lewis Core Engineering Mindspring Enterprises tlewis@mindspring.com (Standard Disclaimers) (800) 719 4664, x2804