From owner-freebsd-questions@FreeBSD.ORG Wed Jun 18 23:46:39 2003 Return-Path: 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 A345337B401 for ; Wed, 18 Jun 2003 23:46:39 -0700 (PDT) Received: from web40601.mail.yahoo.com (web40601.mail.yahoo.com [66.218.78.138]) by mx1.FreeBSD.org (Postfix) with SMTP id 3E34B43F75 for ; Wed, 18 Jun 2003 23:46:39 -0700 (PDT) (envelope-from pjn0211@yahoo.com) Message-ID: <20030619064639.55561.qmail@web40601.mail.yahoo.com> Received: from [202.183.248.166] by web40601.mail.yahoo.com via HTTP; Thu, 19 Jun 2003 07:46:39 BST Date: Thu, 19 Jun 2003 07:46:39 +0100 (BST) From: =?iso-8859-1?q?Supote=20Leelasupphakorn?= To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit cc: jez.hancock@munk.nu Subject: Re: what dose the command "chflags" used for ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2003 06:46:40 -0000 >> Dear all, >> >> Because we have the command "chmod" for change the >> permissions of >> files so what does the command "chflags" used for and >> what suituation >> I must use it ? >chflags is used to set system flags on files you don't want to be >modified accidentally - most commonly the 'noschg' flag stops a file >from being deleted by a normal user. >See the man page for more details, and also the -o option to 'ls' (which >shows flag settings for files. but "chmod 600 do the same thing why does "chflags" come to play ? ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://uk.messenger.yahoo.com/