DaPortal/#32: wiki php rename() failure

Bug report from Anonymous on 05/12/2007 15:01:55
When changing the download module's root to an other disk partition than the default (/tmp!! :p) php rename() fails:

Warning: rename(/var/tmp/phpMkyjhx,/home/DaPortal/downloads/1) [function.rename]: Operation not permitted in /home/DaPortal/modules/download/module.php on line 458

Warning: Cannot modify header information - headers already sent by (output started at /home/DaPortal/modules/download/module.php:458) in /home/DaPortal/modules/download/module.php on line 467
I'll take it.