|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-08-31 05:58 UTC] davey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 17 11:00:02 2025 UTC |
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