From:             mave at clanteamtreff dot com
Operating system: Linux ( Debian 3.0 r2 )
PHP version:      5.0.0
PHP Bug Type:     Filesystem function related
Bug description:  touch won't change symbolic links

Description:
------------
the command

bool touch ( string filename [, int time [, int atime]])

only works with regular files. I have to change some times on Symbolik
links. The OS Cmd  touch  can also change times of Symbolik links.
Currently i use this, but it issnt really good.

(sorry for my bad english, i hope you understand it)

Reproduce code:
---------------
<?php

// This works
$FileName = "/path/file";
touch($FileName, mktime(0,0,0,1,1,1990) );

// This dont works
$FileName = "/path/link";
touch($FileName, mktime(0,0,0,1,1,1990) );

?> 


-- 
Edit bug report at http://bugs.php.net/?id=30164&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30164&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30164&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30164&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=30164&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=30164&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=30164&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=30164&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=30164&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=30164&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=30164&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=30164&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=30164&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=30164&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30164&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=30164&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=30164&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=30164&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30164&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30164&r=mysqlcfg

Reply via email to