#42653 [Opn->Fbk]: mkdir ("foo/bar/") not working

From: Date: Thu, 13 Sep 2007 09:41:39 +0000
Subject: #42653 [Opn->Fbk]: mkdir ("foo/bar/") not working
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-117502@lists.php.net to get a copy of this message
ID: 42653 Updated by: jani@php.net Reported By: xavier at sdv dot fr -Status: Open +Status: Feedback Bug Type: Directory function related Operating System: linux PHP Version: 5.2.4 New Comment: Works fine for me. Please give some more information, f.e. what SAPI you're using. Previous Comments: ------------------------------------------------------------------------ [2007-09-13 09:33:37] xavier at sdv dot fr Description: ------------ With php 5.2.4 if $pathname has a trailing /, mkdir($pathname) don't work. This is a new behavior, it was working in php 5.2.3 Reproduce code: --------------- <? echo mkdir ("toto/") ?> Expected result: ---------------- 1 Actual result: -------------- Warning: mkdir() [function.mkdir]: Unable to access toto/ in /www/root/default_vhost/a/index.php on line 2 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42653&edit=1

« previous php.bugs (#117502) next »