Hi,
try to change the "upload_tmp"_dir in your php.ini to a place within your webroot. If this is undefined, php use the system default path. in your case /tmp.
; Temporary directory for HTTP uploaded files (will use system default if not ; specified). ;upload_tmp_dir =
If you use virtaulhosts, use the "php_admin_value upload_tmp_dir" in your apache config.
I'm using safe_mode too. i works great!
greetings thomas
On Mon, 27 Mar 2006 18:01:34 +0200, Alexis Domjan adomjan@horus.ch wrote:
Hello,
I activated the safe_mode for php and I then applied the patch given in the bug track of roundcubemail (applied manually).
However I still have some problems uploading attachments. When the file is uploaded it can't access it as the script is not owned by the webserver user (www-data).
Here's the error:
move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 2152 is not allowed to access /tmp/rcmAttmnt8pfjc9 owned by uid 33 in [...]roundcubemail/program/steps/mail/upload.inc on line 42, referer: [...]/roundcubemail/?_auth=4107d2f552680f686d1298e287301ea5cd6572b4&_task=mail&_action=compose
Am I doing something wrong ?
RoundCubeMail version: Version 0.1-20060320 (from CVS)
Does anyone encounter the same problem ?
Best regards