Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-doc
Path: blob/main/documentation/manual-pages/ja/man1/chflags.1
18093 views
.\" Copyright (c) 1989, 1990, 1993, 1994
.\"	The Regents of the University of California.  All rights reserved.
.\"
.\" This code is derived from software contributed to Berkeley by
.\" the Institute of Electrical and Electronics Engineers, Inc.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\" 4. Neither the name of the University nor the names of its contributors
.\"    may be used to endorse or promote products derived from this software
.\"    without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\"	@(#)chflags.1	8.4 (Berkeley) 5/2/95
.\" %FreeBSD: src/bin/chflags/chflags.1,v 1.18.2.2 2005/02/26 04:50:20 trhodes Exp %
.\" $FreeBSD$
.\"
.Dd February 24, 2005
.Dt CHFLAGS 1
.Os
.Sh ̾��
.Nm chflags
.Nd �ե�����Υե饰���ѹ�����
.Sh ��
.Nm
.Oo
.Fl R
.Op Fl H | Fl L | Fl P
.Oc
.Ar flags
.Ar
.Sh ����
.Nm
�ϻ��ꤷ���ե�����Υե饰��
.Ar flags
�ǻ��ꤷ���ͤ��ѹ����ޤ���
.Pp
���ץ����ϰʲ��ΤȤ���Ǥ���
.Bl -tag -width indent
.It Fl H
.Fl R
���ץ���󤬻��ꤵ��Ƥ���С������ǻ��ꤵ�줿����ܥ�å���󥯤�
���ɤ�ޤ�
(�ڹ�¤�θ�����ˤߤĤ��ä�����ܥ�å���󥯤Ϥ��ɤ�ޤ���)��
.It Fl L
.Fl R
���ץ���󤬻��ꤵ��Ƥ���С����ƤΥ���ܥ�å���󥯤򤿤ɤ�ޤ���
.It Fl P
.Fl R
���ץ���󤬻��ꤵ��Ƥ���С��ɤΥ���ܥ�å���󥯤⤿�ɤ�ޤ���
���줬�ǥե���ȤǤ���
.It Fl R
���ꤵ�줿�ե����뼫�ȤǤϤʤ���
���Υե�����ʲ��Υǥ��쥯�ȥ곬�ؤ��٤Ƥ�
�ե饰���ѹ����ޤ���
.El
.Pp
�ե饰�ϡ�8 �ʿ�����������ɤ򥳥�ޤǶ��ڤä���ΤǤ���
�����������Ƥ��륭����ɤϰʲ��ΤȤ���Ǥ�:
.Pp
.Bl -tag -offset indent -width ".Ar opaque"
.It Ar arch , archived
archived �ե饰�򥻥åȤ��ޤ� (�����ѥ桼���Τ�)
.It Ar opaque
opaque �ե饰�򥻥åȤ��ޤ� (��ͭ�Ԥ������ѥ桼���Τ�)
.It Ar nodump
nodump �ե饰�򥻥åȤ��ޤ� (��ͭ�Ԥ������ѥ桼���Τ�)
.It Ar sappnd , sappend
system append-only (�����ƥ��٥�Ǥ��ɲ�����) �ե饰�򥻥åȤ��ޤ�
(�����ѥ桼���Τ�)
.It Ar schg , schange , simmutable
system immutable (�����ƥ��٥�Ǥ��ѹ��Բ�) �ե饰�򥻥åȤ��ޤ�
(�����ѥ桼���Τ�)
.It Ar sunlnk , sunlink
system undeletable (�����ƥ��٥�Ǥκ���Բ�) �ե饰�򥻥åȤ��ޤ�
(�����ѥ桼���Τ�)
.It Ar uappnd , uappend
user append-only (�桼����٥�Ǥ��ɲ�����) �ե饰�򥻥åȤ��ޤ�
(��ͭ�Ԥޤ��ϥ����ѥ桼���Τ�)
.It Ar uchg , uchange , uimmutable
user immutable (�桼����٥�Ǥ��ѹ��Բ�) �ե饰�򥻥åȤ��ޤ�
(��ͭ�Ԥޤ��ϥ����ѥ桼���Τ�)
.It Ar uunlnk , uunlink
user undeletable (�桼����٥�Ǥκ���Բ�) �ե饰�򥻥åȤ��ޤ�
(��ͭ�Ԥޤ��ϥ����ѥ桼���Τ�)
.El
.Pp
���ץ���󥭡���ɤ�����
.Dq Ar no
���դ����ꥭ����ɤ���
.Dq Ar no
����ȡ����Υե饰��̵���ˤ��ޤ���
��:
.Pp
.Bl -tag -offset indent -width "nouchg" -compact
.It Ar nouchg
�桼���� immutable �ӥåȤ򥯥ꥢ (��ͭ�Ԥޤ��ϥ����ѥ桼���Τ�)
.It Ar dump
nodump �ե饰�򥯥ꥢ (��ͭ�Ԥޤ��ϥ����ѥ桼���Τ�)
.El
.Pp
����ܥ�å���󥯤ˤϥե饰�Ϥ���ޤ���
��äơ�
.Fl H
���뤤��
.Fl L
���ץ�������ꤻ���˥���ܥ�å���󥯤�
����
.Nm
��¹Ԥ�����硢����������ޤ��������θ��̤⤢��ޤ���
.Fl H
��
.Fl L
��
.Fl P
���ץ�����
.Fl R
���ץ�������ꤷ�ʤ��¤�̵�뤵��ޤ���
�ޤ��������Υ��ץ����Ϥ��ߤ��θ��̤��񤭤��뤿�ᡢ
�Ǹ�˻��ꤵ�줿���ץ����ˤ�äƥ��ޥ�ɤ�ư���ޤ�ޤ���
.Pp
�ե�����Υե饰�򸫤�ˤ� "ls -lo" �Ȥ��ޤ���
.Sh ����
.Ex -std
.Sh ��Ϣ����
.Xr ls 1 ,
.Xr chflags 2 ,
.Xr stat 2 ,
.Xr fts 3 ,
.Xr symlink 7
.Sh �Х�
�¤�줿�桼�ƥ���ƥ�����
.Nm
��ǧ�����ޤ���
�����ǧ������ġ���Ȥ��Ƥϡ�
.Xr ls 1 ,
.Xr cp 1 ,
.Xr find 1 ,
.Xr install 1 ,
.Xr dump 8 ,
.Xr restore 8
�ʤɤ�����ޤ���
�äˡ�����
.Nm
��ǧ�����Ƥ��ʤ��ġ���ΤҤȤĤ�
.Xr pax 1
�桼�ƥ���ƥ��Ǥ���
.Sh ���
.Nm
��
.Bx 4.4
�˽����о줷�ޤ�����