Edit report at http://bugs.php.net/bug.php?id=52690&edit=1

 ID:                 52690
 Updated by:         paj...@php.net
 Reported by:        marielyne at acanac dot net
 Summary:            touch directory
-Status:             Open
+Status:             Wont fix
 Type:               Bug
 Package:            Filesystem function related
 Operating System:   Windows 7
 PHP Version:        5.2.14
 Block user comment: N

 New Comment:

5.2 is for critical fixes only. I strongly suggest to update to 5.3,
especially as you are on Windows.


Previous Comments:
------------------------------------------------------------------------
[2010-08-24 21:58:41] marielyne at acanac dot net

Description:
------------
touch() a directory says

Warning: touch(): Utime failed: Permission denied



It was fixed in 5.3 after

http://bugs.php.net/bug.php?id=49047



It should have been fixed in 5.2 after

http://bugs.php.net/bug.php?id=35980



Only a matter of backporting, if possible

Test script:
---------------
php.exe -r "mkdir('C:/touched/');touch('C:/touched/');"

Expected result:
----------------
None

Actual result:
--------------
Error shown above


------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=52690&edit=1

Reply via email to