|  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
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: webmaster at infotel dot it
New email:
PHP Version: OS:


 [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-2023 The PHP Group
All rights reserved.
Last updated: Thu Nov 30 15:01:27 2023 UTC