#36875 [Opn]: open_basedir doesn't affect is_writable

From: Date: Mon, 27 Mar 2006 20:05:58 +0000
Subject: #36875 [Opn]: open_basedir doesn't affect is_writable
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-94931@lists.php.net to get a copy of this message
ID: 36875 Updated by: cellog@php.net Reported By: rebe at unit01 dot net Status: Open Bug Type: Filesystem function related Operating System: linux PHP Version: 5.1.2 New Comment: this patch may solve the issue http://pastebin.com/625633 Previous Comments: ------------------------------------------------------------------------ [2006-03-27 16:55:43] rebe at unit01 dot net Description: ------------ I'm not sure is it ok but open_basedir restriction in php.ini does not affect is_writable() behaviour. It means that function returns true even if path is out of open_basedir setting and any try to write there finishes with "open_basedir restriction in effect". ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36875&edit=1

« previous php.bugs (#94931) next »