note 61331 added to function.is-writable
| From: | darek at fauxaddress dot com | Date: | Tue, 31 Jan 2006 18:27:03 +0000 |
| Subject: | note 61331 added to function.is-writable | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-102779@lists.php.net to get a copy of this message | ||
It appears that is_writable() does not check full permissions of a file to determine whether the
current user can write to it. For example, with Apache running as user 'www', and a
member of the group 'wheel', is_writable() returns false on a file like
-rwxrwxr-x root wheel /etc/some.file
----
Server IP: 64.71.164.2
Probable Submitter: 64.147.100.2
----
Manual Page -- http://www.php.net/manual/en/function.is-writable.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+61331
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+61331&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+61331&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+61331&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+61331&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+61331&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+61331&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+61331&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+61331&report=yes
Search -- http://master.php.net/manage/user-notes.php