|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21130 Open Basedir Restriction for /tmp - Dir.
Submitted: 2002-12-21 07:06 UTC Modified: 2003-01-09 19:35 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: m dot leuffen at i-line dot net Assigned:
Status: No Feedback Package: Filesystem function related
PHP Version: 4.2.3 OS: RedHat 7.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: m dot leuffen at i-line dot net
New email:
PHP Version: OS:


 [2002-12-21 07:06 UTC] m dot leuffen at i-line dot net

i updated to PHP 4.2.3 and set OpenBasedir="." in the main Configuration File.
(I modified this in the Sorce fopen_wrappers.c to limit Access only to the first 2 Dirs (example: Call to /home/xyz/htdocs/etc.php will be limited to /home/xyz))

All is working fine - but PHP limits also Access to /tmp - So there is a Problem with File-Uploads. (Happens also with the unmodified Sources)

Any Suggestions where (Config or Source) I can fix this Problem?

Is that an error or a feature? (Will this be fixed in the next Release?)



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-21 07:14 UTC]
We can not support modified sources. Please try this with the latest RC and without modifying any source.

 [2003-01-09 19:35 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Jul 30 05:01:24 2021 UTC