note 115212 added to function.posix-access

From: Date: Thu, 12 Jun 2014 20:00:36 +0000
Subject: note 115212 added to function.posix-access
Groups: php.notes 
Request: Send a blank email to php-notes+get-199675@lists.php.net to get a copy of this message
It should be noted that this function performs access checks based on the real UID and real GID of the process running PHP. These aren't necessarily the same as the effective UID and GID. In other words, it may well be that access() returns “true” for a particular permission, but an fopen() operation which requires the same permission will fail, and vice versa. Keep that in mind if you use access() for such checks. ---- Server IP: 87.106.1.137 Probable Submitter: 93.192.244.34 ---- Manual Page -- http://php.net/manual/en/function.posix-access.php Edit -- https://master.php.net/note/edit/115212 Del: integrated -- https://master.php.net/note/delete/115212/integrated Del: useless -- https://master.php.net/note/delete/115212/useless Del: bad code -- https://master.php.net/note/delete/115212/bad+code Del: spam -- https://master.php.net/note/delete/115212/spam Del: non-english -- https://master.php.net/note/delete/115212/non-english Del: in docs -- https://master.php.net/note/delete/115212/in+docs Del: other reasons-- https://master.php.net/note/delete/115212 Reject -- https://master.php.net/note/reject/115212 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#199675) next »