ID:               40092
 Updated by:       [EMAIL PROTECTED]
 Reported By:      n dot escuder at intra-links dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Filesystem function related
 Operating System: Linux 2.6
 PHP Version:      5.2.0
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




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

[2007-01-10 15:30:41] n dot escuder at intra-links dot com

Description:
------------
When executing md5_file on a chroot fs it say no such file and it's
false.

Reproduce code:
---------------
<?
mkdir( "/tmp/php/include", 0777, true );
touch( "/tmp/php/include/one.php" );
symlink( "/tmp/php/include", "/tmp/php/link" );
ini_set( "include_path", "/tmp/php/link" );
require_once "one.php";
mkdir( "/tmp/chroot" );
chroot( "/tmp/chroot" );
mkdir( "/tmp/php/link", 0777, true );
touch( "/tmp/php/link/one.php" );
md5_file( "/tmp/php/link/one.php" );
?>

Expected result:
----------------
the md5 of the file.

Actual result:
--------------
Warning: md5_file(/tmp/php/link/one.php): failed to open stream: No
such file or directory


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


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

Reply via email to