note 41449 added to function.touch

From: Date: Sat, 10 Apr 2004 09:32:30 +0000
Subject: note 41449 added to function.touch
Groups: php.notes 
Request: Send a blank email to php-notes+get-67949@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/function.touch.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+41449 Delete -- http://master.php.net/manage/user-notes.php?action=delete+41449&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+41449&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#67949) next »