OSDN Git Service

d3626dbd7130c65d42bbdddbb19462c82d091a7c
[linuxjm/coreutils.git] / release / man1 / chown.1
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
2 .\"*******************************************************************
3 .\"
4 .\" This file was generated with po4a. Translate the source file.
5 .\"
6 .\"*******************************************************************
7 .TH CHOWN 1 "March 2012" "GNU coreutils 8.16" ユーザーコマンド
8 .SH 名前
9 chown \- ファイルの所有者とグループを変更する
10 .SH 書式
11 \fBchown\fP [\fIOPTION\fP]... [\fIOWNER\fP][\fI:\fP[\fIGROUP\fP]] \fIFILE\fP...
12 .br
13 \fBchown\fP [\fIOPTION\fP]... \fI\-\-reference=RFILE FILE\fP...
14 .SH 説明
15 This manual page documents the GNU version of \fBchown\fP.  \fBchown\fP changes
16 the user and/or group ownership of each given file.  If only an owner (a
17 user name or numeric user ID) is given, that user is made the owner of each
18 given file, and the files' group is not changed.  If the owner is followed
19 by a colon and a group name (or numeric group ID), with no spaces between
20 them, the group ownership of the files is changed as well.  If a colon but
21 no group name follows the user name, that user is made the owner of the
22 files and the group of the files is changed to that user's login group.  If
23 the colon and group are given, but the owner is omitted, only the group of
24 the files is changed; in this case, \fBchown\fP performs the same function as
25 \fBchgrp\fP.  If only a colon is given, or if the entire operand is empty,
26 neither the owner nor the group is changed.
27 .SH オプション
28 .PP
29 Change the owner and/or group of each FILE to OWNER and/or GROUP.  With
30 \fB\-\-reference\fP, change the owner and group of each FILE to those of RFILE.
31 .TP 
32 \fB\-c\fP, \fB\-\-changes\fP
33 verbose モードと同様ですが、変更が行われた場合にのみ出力します。
34 .TP 
35 \fB\-f\fP, \fB\-\-silent\fP, \fB\-\-quiet\fP
36 ほとんどのエラーメッセージの出力を抑制します。
37 .TP 
38 \fB\-v\fP, \fB\-\-verbose\fP
39 処理した各ファイルについて診断メッセージを出力します。
40 .TP 
41 \fB\-\-dereference\fP
42 シンボリックリンク自身ではなく、
43 シンボリックリンクの参照先に対して操作を行います。
44 (これがデフォルトの動作です)
45 .TP 
46 \fB\-h\fP, \fB\-\-no\-dereference\fP
47 シンボリックリンクの参照先のファイルではなく、
48 シンボリックリンク自身に対して操作を行います。
49 (意味があるのは、シンボリックリンクの所有権を変更できるシステムの場合だけです)
50 .TP 
51 \fB\-\-from\fP=\fICURRENT_OWNER\fP:CURRENT_GROUP
52 change the owner and/or group of each file only if its current owner and/or
53 group match those specified here.  Either may be omitted, in which case a
54 match is not required for the omitted attribute
55 .TP 
56 \fB\-\-no\-preserve\-root\fP
57 \&'/' を特別扱いしません。 (デフォルト)
58 .TP 
59 \fB\-\-preserve\-root\fP
60 \&'/' に対する再帰的な操作を失敗させます。
61 .TP 
62 \fB\-\-reference\fP=\fIRFILE\fP
63 use RFILE's owner and group rather than specifying OWNER:GROUP values
64 .TP 
65 \fB\-R\fP, \fB\-\-recursive\fP
66 ファイルとディレクトリを再帰的に操作します。
67 .PP
68 以下のオプションを使うと、\fB\-R\fP オプションが併せて指定された場合に
69 どのように階層を辿るかを変更できます。複数のオプションが指定された場合は、
70 最後に指定されたものが有効になります。
71 .TP 
72 \fB\-H\fP
73 コマンドライン引き数がシンボリックリンクの場合、そのリンクを辿ります。
74 .TP 
75 \fB\-L\fP
76 ディレクトリへのシンボリックリンクがあった場合、そのリンクを全て辿ります。
77 .TP 
78 \fB\-P\fP
79 シンボリックリンクを一切辿りません。 (デフォルト)
80 .TP 
81 \fB\-\-help\fP
82 この使い方を表示して終了します。
83 .TP 
84 \fB\-\-version\fP
85 バージョン情報を表示して終了します。
86 .PP
87 Owner is unchanged if missing.  Group is unchanged if missing, but changed
88 to login group if implied by a ':' following a symbolic OWNER.  OWNER and
89 GROUP may be numeric as well as symbolic.
90 .SH 例
91 .TP 
92 chown root /u
93 /u の所有者を "root" に変更します。
94 .TP 
95 chown root:staff /u
96 同様だが、グループの "staff" への変更も行う。
97 .TP 
98 chown \fB\-hR\fP root /u
99 /u とその配下のファイルの所有者を "root" に変更します。
100 .SH 作者
101 David MacKenzie と Jim Meyering が作成しました。
102 .SH バグ報告
103 chown のバグは bug\-coreutils@gnu.org に報告してください。
104 .br
105 GNU coreutils のホームページは <http://www.gnu.org/software/coreutils/> です。
106 .br
107 GNU ソフトウェアを使用するための一般的なヘルプは
108 <http://www.gnu.org/gethelp/> にあります。
109 .br
110 chown の翻訳のバグは <http://translationproject.org/team/> に報告してください。
111 .SH 著作権
112 Copyright \(co 2012 Free Software Foundation, Inc.  License GPLv3+: GNU GPL
113 version 3 or later <http://gnu.org/licenses/gpl.html>.
114 .br
115 This is free software: you are free to change and redistribute it.  There is
116 NO WARRANTY, to the extent permitted by law.
117 .SH 関連項目
118 chown(2)
119 .PP
120 \fBchown\fP の完全なマニュアルは Texinfo マニュアルとして用意されています。
121 \fBinfo\fP と \fBchown\fP のプログラムがお使いの環境に適切にインストールされているならば、
122 コマンド
123 .IP
124 \fBinfo coreutils \(aqchown invocation\(aq\fP
125 .PP
126 を実行すると、完全なマニュアルを読むことができるはずです。