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

From: Date: Tue, 18 May 2021 18:11:29 +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-233887@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:         bugs-php dot a2 at x25 dot pl
 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:

cat a.php
<?
ini_set("open_basedir","/home/naox/public_html/test");
mkdir("/home/naox/public_html/test");

php a.php

Warning: mkdir(): open_basedir restriction in effect. File(/home/naox/public_html/test) is not
within the allowed path(s): (/home/naox/public_html/test) in
/home/naox/public_html/naox.vipserv.org/a.php on line 3


Previous Comments:
------------------------------------------------------------------------
[2021-05-15 18:57:57] requinix@php.net

Related To: Bug #81042

------------------------------------------------------------------------
[2020-11-12 15:04:19] php dot stephan at lippe-net dot de

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

------------------------------------------------------------------------
[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

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


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 (#233887) next »