|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29394 Cant delete folder with name 2003
Submitted: 2004-07-26 21:03 UTC Modified: 2004-08-31 05:58 UTC
From: m at shnee dot com Assigned:
Status: Not a bug Package: Directory function related
PHP Version: 4.3.7 OS: winxp pro
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: m at shnee dot com
New email:
PHP Version: OS:


 [2004-07-26 21:03 UTC] m at shnee dot com
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:
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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-31 05:58 UTC]
Tested in WinXP Home SP2, both functions work fine for me.

- Davey
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 30 04:01:31 2024 UTC