|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24011 php 4.* don't resolve simlinks
Submitted: 2003-06-04 04:35 UTC Modified: 2005-01-31 22:46 UTC
From: webmaster at infotel dot it Assigned:
Status: No Feedback Package: Safe Mode/open_basedir
PHP Version: 4.3.1 OS: linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2003-06-04 04:35 UTC] webmaster at infotel dot it
if open_basedir restriction is enabled very much time (but not always) all filesystem operation with symlinks in path didn't permitted

my conf:

/www -> /var/lib/apache/htdocs   (web1)
/www -> /var/www/htdocs          (web2)
/www -> /home/htdocs             (develop)

open_basedir tested, /wwww (all), /var/lib/apache/htdocs (web1), /var/www/htdocs (web2), /home/htdocs (develop)

in all machine have problem with file like /www/textfile.txt, if open file  "Operation not permitted" and if chek file exist "open_basedir restriction in effect. File is in wrong directory"

if i use the real path (/var/lib/apache/htdocs, ...) all woks fine



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-06 07:33 UTC]
What was the exact error?
With what piece of code did you get it ?
What was symlinked where?

 [2003-06-11 19:11 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-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 24 03:01:28 2024 UTC