From: m at shnee dot com Operating system: winxp pro PHP version: 4.3.7 PHP Bug Type: Directory function related Bug description: Cant delete folder with name 2003
Description: ------------ Its funny, when a directory is named "2003", I am unable to rmdir or rename it. If I change the folder name (using windows explorer) to 2005, then I can run rmdir and rename with no problem. The return error is Permission Denied. But that isnt the issue as I can create a 2003 folder and 2005 folder at the same time, and I get the same problem. I can only edit/delete 2005, and 2003 always gives permission denied no matter what. I realize its possible this could be a windows issue. Just curious don't ya think? Reproduce code: --------------- rmdir("2003"); rename ("2003", "2002); Expected result: ---------------- I expect it to delete/rename the directory. Actual result: -------------- Warning: rmdir(2003): Permission denied in C:\Documents and Settings\Mark\Desktop\www\new_pics\index.php on line 401 -- Edit bug report at http://bugs.php.net/?id=29394&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29394&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29394&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29394&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29394&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29394&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29394&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29394&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29394&r=support Expected behavior: http://bugs.php.net/fix.php?id=29394&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29394&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29394&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29394&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29394&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29394&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29394&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29394&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29394&r=float