From owner-freebsd-questions@FreeBSD.ORG Fri Mar 31 15:58:01 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E00F016A420 for ; Fri, 31 Mar 2006 15:58:01 +0000 (UTC) (envelope-from user@dhp.com) Received: from shell.dhp.com (shell.dhp.com [199.245.105.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id D934543D6B for ; Fri, 31 Mar 2006 15:58:00 +0000 (GMT) (envelope-from user@dhp.com) Received: by shell.dhp.com (Postfix, from userid 896) id 09E063132A; Fri, 31 Mar 2006 10:57:59 -0500 (EST) Date: Fri, 31 Mar 2006 10:57:58 -0500 (EST) From: Ensel Sharon To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: how can I lock a directory with chflags schg ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2006 15:58:02 -0000 I have a directory with particular permissions on it, etc., that I want to make _absolutely sure_ never gets changed to different permissions. So I figured, easy, I'll just: chflags schg /dir but I notice that once you chflags schg a directory, you can no longer write to that directory. Is this correct ? Am I also correct that I _can_ continue to write to subdirectories of the schg directory ? (I seem to be able to) Is there any way to lock down a directory the way i want to, and still be able to write to it ? Thanks.