Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2003 07:46:39 +0100 (BST)
From:      =?iso-8859-1?q?Supote=20Leelasupphakorn?= <pjn0211@yahoo.com>
To:        freebsd-questions@freebsd.org
Cc:        jez.hancock@munk.nu
Subject:   Re: what dose the command "chflags" used for ?
Message-ID:  <20030619064639.55561.qmail@web40601.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
>> 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 <those_file> 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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030619064639.55561.qmail>