Bug #52690 [NEW]: touch directory
| From: | marielyne at acanac dot net | Date: | Tue, 24 Aug 2010 19:58:42 +0000 |
| Subject: | Bug #52690 [NEW]: touch directory | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-153759@lists.php.net to get a copy of this message | ||
From:
Operating system: Windows 7
PHP version: 5.2.14
Package: Filesystem function related
Bug Type: Bug
Bug description:touch directory
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 bug report at http://bugs.php.net/bug.php?id=52690&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52690&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52690&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52690&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=52690&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52690&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=52690&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=52690&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=52690&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=52690&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=52690&r=support
Expected behavior: http://bugs.php.net/fix.php?id=52690&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=52690&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=52690&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=52690&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52690&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=52690&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=52690&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=52690&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=52690&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=52690&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=52690&r=mysqlcfg