ID:               30164
 User updated by:  mave at clanteamtreff dot com
 Reported By:      mave at clanteamtreff dot com
 Status:           Open
 Bug Type:         Filesystem function related
 Operating System: Linux ( Debian 3.0 r2 )
 PHP Version:      5.0.0
 New Comment:

Symbolic Links dont work also with the Funktions :

bool chgrp ( string filename, mixed group)
bool chmod ( string filename, int mode
bool chown ( string filename, mixed user)
...


Previous Comments:
------------------------------------------------------------------------

[2004-09-20 10:49:31] mave at clanteamtreff dot com

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 this bug report at http://bugs.php.net/?id=30164&edit=1

Reply via email to