-.\" Hey Emacs! This file is -*- nroff -*- source.
-.\"
.\" This manpage is Copyright (C) 1992 Drew Eckhardt;
.\" 1993 Michael Haardt, Ian Jackson.
.\" and Copyright (C) 2007 Michael Kerrisk <mtk.manpages@gmail.com>
.\"
+.\" %%%LICENSE_START(VERBATIM)
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
.\"
.\" Modified 1993-07-21 Rik Faith (faith@cs.unc.edu)
.\" Modified 1994-08-21 by Michael Chastain (mec@shell.portal.com):
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
-.TH ACCESS 2 2010\-10\-24 Linux "Linux Programmer's Manual"
+.TH ACCESS 2 2013\-02\-28 Linux "Linux Programmer's Manual"
.SH 名前
access \- ファイルに対する実ユーザーでのアクセス権をチェックする
.SH 書式
そのプロセスの実効ユーザ ID を実ユーザ ID に一時的に切り替えてから
\fBopen\fP(2) を呼び出す方法がある。)
.PP
-\fBaccess\fP() は常にシンボリックリンクの展開を行う。
-シンボリックリンクのアクセス許可を確認する必要がある場合は、
-\fBAT_SYMLINK_NOFOLLOW\fP フラグ付きで \fBfaccessat(2)\fP を使うこと。
+\fBaccess\fP() always dereferences symbolic links. If you need to check the
+permissions on a symbolic link, use \fBfaccessat\fP(2) with the flag
+\fBAT_SYMLINK_NOFOLLOW\fP.
.PP
\fImode\fP で指定されたアクセス種別のいずれか一つでも拒否されると、 たとえ \fImode\fP で指定された他のアクセス種別が許可されたとしても、
\fBaccess\fP() はエラーを返す。
ファイルを作成することが可能なことを意味するのであり、ディレクトリに ファイルとして書き込むことができるわけではない。 同様に DOS
のファイルは「実行可能」と判断されるが、 \fBexecve\fP(2) コールは失敗するだろう。
.PP
-\fBaccess\fP() は、 UID マッピングを使用した NFS ファイル・システムでは正常に 機能しないかもしれない。なぜならば UID
-のマッピングはサーバーで 行なわれ、権利のチェックをするクライアントには見えないからである。
+\fBaccess\fP() may not work correctly on NFS file systems with UID mapping
+enabled, because UID mapping is done on the server and hidden from the
+client, which checks permissions. Similar problems can occur to FUSE
+mounts.
.SH バグ
.\" This behavior appears to have been an implementation accident.
バージョン 2.4 (とそれ以前) のカーネルには、スーパーユーザでの \fBX_OK\fP のチェックの扱いに奇妙な点がある。 ディレクトリ以外のファイルで
\fBsetuid\fP(2), \fBstat\fP(2), \fBeauidaccess\fP(3), \fBcredentials\fP(7),
\fBpath_resolution\fP(7)
.SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.41 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部
である。プロジェクトの説明とバグ報告に関する情報は
http://www.kernel.org/doc/man\-pages/ に書かれている。