note 41449 deleted from function.touch by nlopess
| From: | nlopess@php.net | Date: | Sat, 10 Apr 2004 12:10:53 +0000 |
| Subject: | note 41449 deleted from function.touch by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-67954@lists.php.net to get a copy of this message | ||
Note Submitter: andi <at> splitbrain <dot> org
----
It looks like the behaviour of touch() changed. You now can only touch files owned by the webserver
or you get the following message:
touch(): Utime failed: Operation not permitted
In previous versions touching files with group permissions did work, too.
However a <?php system("touch $file"); ?> does still works when the file is writable
by the webservers group.