|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29963 fileaccess dont work properly
Submitted: 2004-09-03 06:51 UTC Modified: 2004-09-03 08:26 UTC
From: neppis at msn dot com Assigned:
Status: Not a bug Package: Filesystem function related
PHP Version: 5.0.1 OS: Solaris 8 - Sparc
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: neppis at msn dot com
New email:
PHP Version: OS:


 [2004-09-03 06:51 UTC] neppis at msn dot com
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.

-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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-09-03 08:26 UTC]
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 as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Dec 02 04:01:24 2020 UTC