OSDN Git Service

(split) LDP: Update draft pages based on LDP 3.54 release
[linuxjm/LDP_man-pages.git] / draft / man2 / chmod.2
index 4661197..5e8a039 100644 (file)
@@ -123,20 +123,22 @@ set\-group\-ID (以下の場合に (\fBexecve\fP(2)  実行時にプロセスの
 プロセスの実効グループ ID または補助的なグループ ID にマッチしない場合、 \fBS_ISGID\fP
 ビットはオフにされるが、これによってエラーが返されることはない。
 
-安全のための処置として、 ファイル・システムによっては、ファイルの書き込みを行う時に セット・ユーザー ID とセット・グループ ID
-ビットと実行ビットが オフにされることがある。 (Linux では、書き込みプロセスが \fBCAP_FSETID\fP
-ケーパビリティを持っていない場合に、これが起こる。)  ファイル・システムの中には、スーパー・ユーザーだけが
-特別の意味を持つスティッキー・ビットを設定できるものがある。 スティッキー・ビットとディレクトリに対する セット・ユーザー (グループ)・ID
-ビットについては、 \fBstat\fP(2)  を見よ。
+As a security measure, depending on the filesystem, the set\-user\-ID and
+set\-group\-ID execution bits may be turned off if a file is written.  (On
+Linux this occurs if the writing process does not have the \fBCAP_FSETID\fP
+capability.)  On some filesystems, only the superuser can set the sticky
+bit, which may have a special meaning.  For the sticky bit, and for
+set\-user\-ID and set\-group\-ID bits on directories, see \fBstat\fP(2).
 
-NFS ファイルシステム上では、パーミッションを制限すると、 既にオープンされているファイルに対してすぐに影響が及ぶ。
-これはアクセス制御がサーバー上で行われているが、 オープンされているファイルはクライアント側で管理されているためである。
-クライアント側でファイル属性のキャッシュが有効になっている場合に、 パーミッションの制限を緩くすると、
-他のクライアントに情報が伝わるのが遅れるかもしれない。
+On NFS filesystems, restricting the permissions will immediately influence
+already open files, because the access control is done on the server, but
+open files are maintained by the client.  Widening the permissions may be
+delayed for other clients if attribute caching is enabled on them.
 .SH 返り値
 成功した場合は 0 が返される。エラーの場合は \-1 が返され、 \fIerrno\fP が適切に設定される。
 .SH エラー
-ファイル・システムによっては他のエラーを返す場合がある。 \fBchmod\fP()  で一般的なエラーを以下に挙げる。
+Depending on the filesystem, other errors can be returned.  The more general
+errors for \fBchmod\fP()  are listed below:
 .TP 
 \fBEACCES\fP
 パス名の構成要素に検索許可がない (\fBpath_resolution\fP(7)  も見よ)。
@@ -166,7 +168,7 @@ I/O エラーが発生した。
 実効 UID がファイルの所有者と一致せず、プロセスに特権がない (Linux では \fBCAP_FOWNER\fP ケーパビリティを持たない)。
 .TP 
 \fBEROFS\fP
-ファイルが読み込み専用 (read only) のファイル・システム上にある。
+The named file resides on a read\-only filesystem.
 .PP
 \fBfchmod\fP()  で一般的なエラーを挙げる:
 .TP 
@@ -187,6 +189,6 @@ I/O エラーが発生した。
 \fBchown\fP(2), \fBexecve\fP(2), \fBfchmodat\fP(2), \fBopen\fP(2), \fBstat\fP(2),
 \fBpath_resolution\fP(7)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.53 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.54 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。