Bug #52690 [Opn->Wfx]: touch directory
| From: | pajoye@php.net | Date: | Tue, 24 Aug 2010 20:08:47 +0000 |
| Subject: | Bug #52690 [Opn->Wfx]: touch directory | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-153760@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52690&edit=1
ID: 52690
Updated by: pajoye@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