ID:               29394
 Updated by:       [EMAIL PROTECTED]
 Reported By:      m at shnee dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Directory function related
 Operating System: winxp pro
 PHP Version:      4.3.7
 New Comment:

Tested in WinXP Home SP2, both functions work fine for me.

- Davey


Previous Comments:
------------------------------------------------------------------------

[2004-07-26 21:03:16] m at shnee dot com

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 this bug report at http://bugs.php.net/?id=29394&edit=1

Reply via email to