php.net |  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
Votes:1
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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
42 - 41 = ?
Subscribe to this entry?

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

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?)

Bye,
  Matthias

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

Derick
 [2003-01-09 19:35 UTC] sniper@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 17:01:29 2024 UTC