Mombu the Php Forum sponsored links

Go Back   Mombu the Php Forum > Php > #36875 : open_basedir doesn't affect is_writable
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 27th May 04:55
External User
 
Posts: 1
Default #36875 : open_basedir doesn't affect is_writable



ID: 36875
Updated by: bjori@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:

Greg: Solves the issue with is_readable() and friends, but not is_dir()
and pals.

This however does:
http://php.is/bugs/36875/open_basedir.phpHEAD.patch.txt
http://php.is/bugs/36875/open_basedir.php51.patch.txt

-Hannes


Previous Comments:
------------------------------------------------------------------------

[2006-03-27 22:05:56] cellog@php.net

this patch may solve the issue

http://pastebin.com/625633

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

[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
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666