|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16920 File permissions security problem
Submitted: 2002-04-29 18:47 UTC Modified: 2002-10-08 21:38 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: jr-php at quo dot to Assigned:
Status: Not a bug Package: *Configuration Issues
PHP Version: 4.2.0 OS: Red Hat Linux 7.2
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: jr-php at quo dot to
New email:
PHP Version: OS:


 [2002-04-29 18:47 UTC] jr-php at quo dot to
When I run "make install" as root, most of the files installed under /usr/local/include/php have a user id of 500, a group id of 500, and a mode of 664. This is very insecure for (hopefully) obvious reasons: it gives whichever user who has a numeric id of 500 write access to the files, and also any users in group 500.

Ideally, it should install the files with user id 0, group id 0, and a mode of 644.

Here is my configure line, in case it matters:

./configure --with-apache=../apache_1.3.24 --enable-track-vars \
  --with-mysql --with-zlib --with-gd


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-29 19:38 UTC]
The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit
 [2002-04-29 19:40 UTC]
Oops. This is Makefile issue, of course. 
'make install' should set these.

 [2002-09-17 21:02 UTC]
Please try using this CVS snapshot:
For Windows:

 [2002-10-08 21:38 UTC]
Check your umask, that's propably the reason for this.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Aug 17 04:05:45 2022 UTC