Bug #18332 Updated: is_readable/is_writable/is_executable support under safe mode
| From: | yohgaki@php.net | Date: | Tue, 16 Jul 2002 01:52:20 +0000 |
| Subject: | Bug #18332 Updated: is_readable/is_writable/is_executable support under safe mode | ||
| References: | 1 | Groups: | php.bugs php.doc |
| Request: | Send a blank email to php-bugs+get-14263@lists.php.net to get a copy of this message | ||
ID: 18332
Updated by: yohgaki@php.net
Reported By: ilia@prohost.org
Status: Open
-Bug Type: Feature/Change Request
+Bug Type: Documentation problem
-Operating System: Linux 2.4.17
+Operating System: any
PHP Version: 4.2.1
New Comment:
I think stat function can be used to know actual permissions. is_*
function supposed to return if current process can do something or not.
IMO.
We may need to change doc a bit. -> Documentation Problem
Previous Comments:
------------------------------------------------------------------------
[2002-07-13 18:31:32] ilia@prohost.org
It would be very useful if is_readable/is_writable/is_executable
series of functions would work with safe mode. Currently is_writable()
will report a file that in reality cannot be accessed undersafe mode is
writeable, which is clearly misleading.
At least, could the manual be modified in such a way as to document
that those functions will not work properly under safe_mode.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18332&edit=1