OSDN Git Service

Update translations: chroot, csplit, dd, du, pwd
[linuxjm/coreutils.git] / help2man.ja / chown.x
1 '\" Copyright (C) 1998-2016 Free Software Foundation, Inc.
2 '\"
3 '\" This is free software.  You may redistribute copies of it under the terms
4 '\" of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
5 '\" There is NO WARRANTY, to the extent permitted by law.
6 [名前]
7 .\"O chown \- change file owner and group
8 chown \- ファイルの所有者とグループを変更する
9 [説明]
10 .\"O This manual page
11 .\"O documents the GNU version of
12 .\"O .BR chown .
13 .\"O .B chown
14 .\"O changes the user and/or group ownership of each given file.  If
15 .\"O only an owner (a user name or numeric user ID) is given, that user is made the
16 .\"O owner of each given file, and the files' group is not changed.  If the
17 .\"O owner is followed by a colon and a group name (or numeric group ID),
18 .\"O with no spaces between them, the group ownership of the files is
19 .\"O changed as well.  If a colon but no group name follows the user name,
20 .\"O that user is made the owner of the files and the group of the files is
21 .\"O changed to that user's login group.  If the colon and group are given,
22 .\"O but the owner is omitted, only the group of the files is changed;
23 .\"O in this case,
24 .\"O .B chown
25 .\"O performs the same function as
26 .\"O .BR chgrp .
27 .\"O If only a colon is given, or if the entire operand is empty, neither the
28 .\"O owner nor the group is changed.
29 このマニュアルページでは GNU バージョンの \fBchown\fP について説明しています。
30 \fBchown\fP は指定された各ファイルのユーザとグループの所有権を変更します。
31 所有者 (ユーザ名か数値のユーザ ID) だけが指定された場合、そのユーザが
32 指定された各ファイルの所有者に設定されます。ユーザ名の後ろにコロン (':') と
33 グループ名 (もしくは数値のグループ ID) が続く場合、ファイルのグループ
34 も設定されます (所有者とコロン以降の間にスペースを入れてはいけません)。
35 ユーザ名の後ろにグループ名なしでコロンだけが続く場合、
36 ファイルの所有者がそのユーザに変更され、ファイルのグループが
37 そのユーザのログイングループに変更されます。
38 ユーザ名は指定されず、コロンとグループだけが指定された場合、
39 ファイルのグループだけが変更されます。
40 この場合、\fBchown\fP は \fBchgrp\fP と同じ機能を実行していることになります。
41 コロンだけが指定された場合や、処理対象が空の場合、所有者もグループも変更されません。
42 .\"O .SH OPTIONS
43 .SH オプション
44 [関連項目]
45 chown(2)