Bug #52065 [Com]: Warning about open_basedir restriction while accessing a file as directory

From: Date: Thu, 12 Nov 2020 15:04:19 +0000
Subject: Bug #52065 [Com]: Warning about open_basedir restriction while accessing a file as directory
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-230300@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=52065&edit=1

 ID:                 52065
 Comment by:         php dot stephan at lippe-net dot de
 Reported by:        manuel at mausz dot at
 Summary:            Warning about open_basedir restriction while
                     accessing a file as directory
 Status:             Verified
 Type:               Bug
 Package:            Safe Mode/open_basedir
 Operating System:   Unix
 PHP Version:        5.6.8
 Block user comment: N
 Private report:     N

 New Comment:

Cool, a bug described in 2010 not even fixed in PHP 8.0RC3.
That's a statement!


Previous Comments:
------------------------------------------------------------------------
[2020-08-10 07:09:19] requinix@php.net

Related To: Bug #79949

------------------------------------------------------------------------
[2019-11-12 16:36:37] michael dot vorisek at email dot cz

Please fix asap, reported by many users. Thank you.

------------------------------------------------------------------------
[2019-11-12 16:14:08] requinix@php.net

Related To: Bug #78806

------------------------------------------------------------------------
[2019-06-10 05:14:14] requinix@php.net

Related To: Bug #78136

------------------------------------------------------------------------
[2018-10-02 05:08:44] sriccio at swisscenter dot com

We're seeing this in all the PHP versions we use (5.6, 7.0, 7.1, 7.2).

Literally spent hours trying to understand why we have these warning even that the paths are allowed
in the open_basedir directive.

Finally it was because the parent dir of a path was in fact a file and not a dir.

The warning message is really misleading...

It would really be nice to fix this

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=52065


--
Edit this bug report at https://bugs.php.net/bug.php?id=52065&edit=1


Thread (17 messages)

« previous php.bugs (#230300) next »