#29963 [Opn->Bgs]: fileaccess dont work properly
| From: | derick@php.net | Date: | Fri, 03 Sep 2004 06:26:48 +0000 |
| Subject: | #29963 [Opn->Bgs]: fileaccess dont work properly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-65665@lists.php.net to get a copy of this message | ||
ID: 29963
Updated by: derick@php.net
Reported By: neppis at msn dot com
-Status: Open
+Status: Bogus
Bug Type: Filesystem function related
Operating System: Solaris 8 - Sparc
PHP Version: 5.0.1
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
.
Previous Comments:
------------------------------------------------------------------------
[2004-09-03 06:51:19] neppis at msn dot com
Description:
------------
root user start php script.
i set posix_setgid -> www
and posix_setuid -> wwwuser
both work fine, if i touch file, it will be: wwwuser:www
however, i have user ftp:ftp created
wwwuser is part of ftp-group.
file:
-rw-rw-r-- 1 ftp ftp 15 Sep 2 16:25
/home/ftp/testing/testfile
with vi i can edit or i can do anything to that testfile as wwwuser,
but with php i cannot modify it, if i have used posix_setuid to
wwwuser.
forexample is_writeable function returns false.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29963&edit=1