ID: 37395 User updated by: n dot escuder at intra-links dot com Reported By: n dot escuder at intra-links dot com -Status: Feedback +Status: Closed Bug Type: Filesystem function related Operating System: Linux PHP Version: 5.2.0 New Comment:
fix by dimitry this was the same bug of #40092 add realpath_cache when chroot. Previous Comments: ------------------------------------------------------------------------ [2007-02-20 22:43:01] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip ------------------------------------------------------------------------ [2007-01-10 16:27:03] n dot escuder at intra-links dot com The bug is come back in version 5.2.0 and i think this is the same bug that the report #40092. ------------------------------------------------------------------------ [2006-05-16 13:07:41] [EMAIL PROTECTED] This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. There was a different issue, but now it's fixed in CVS. ------------------------------------------------------------------------ [2006-05-16 11:38:02] n dot escuder at intra-links dot com I jave made a little mistake in my expample here is the good test file : <? ini_set( "include_path", "/tmp/link" ); mkdir( "/tmp/php", 0777, true ); touch( "/tmp/php/one.php" ); symlink( "/tmp/php", "/tmp/link" ); require_once "one.php"; mkdir( "/tmp/essai" ); chroot( "/tmp/essai" ); mkdir( "/tmp/link", 0777, true ); $fd = fopen( "/tmp/link/one.php", "wb" ); ?> as you can see we just created /tmp/essai and /tmp/link in chrooted of /tmp/essai and after trye to create /tmp/link/one.php fail ! It's due to the link in the include_path ------------------------------------------------------------------------ [2006-05-15 21:49:43] [EMAIL PROTECTED] Remove all those @ and you'll see the very expected error messages. ------------------------------------------------------------------------ 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 http://bugs.php.net/37395 -- Edit this bug report at http://bugs.php.net/?id=37395&edit=1