I'm unable to include a attachment when sending a e-mail... :'(
Looking in my logs file i see the following error:
[01-Jul-2006 12:57:53] PHP Warning: move_uploaded_file(): SAFE MODE Restriction in effect.
The script whose uid is 32192 is not allowed to access temp/127861862244a655235a568/rcmAttmnt7HtTKt owned by uid 99
in /home/[domainname]/public_html/webmail/program/steps/mail/upload.inc on line 42
did you change tmp to 777? maybe do chown?
Yup, temp was changed to 777 and the problem is there from the first mail...
try 755 ..
And again a No go... with a 755 still the same problem... :(
[01-Jul-2006 15:00:36] PHP Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 32192 is not allowed to access /tmp/rcmAttmntFJjbU5 owned by uid 99 in /home/[domainname]/public_html/webmail/program/steps/mail/upload.inc on line 42
well did you try a chown to uid 32192?
Huh?
How do I do that.... I'm not the owner off the server....
anybody ?
In your FTP programm you can maybe try to set it to 7777 .
This should set it normally.
The problem is that because off the safe mode option my isp has in place
the server sets a different id to the temp folder then the process is using
from within RC.... Both the folders are set to 777 and there is still the
problem... my isp is using cpanel.... :-(
Столкнулся с подобной проблемой, однако её решение заключается не в отключении безопасного режима, а в замене в config на полный путь к temp_dir:
$rcmail_config['temp_dir'] = 'temp/';
на
$rcmail_config['temp_dir'] = '/www/htdocs/webmail_domain/temp/';
потому что в .../program/steps/mail/upload.inc функция tempnam (http://ru2.php.net/manual/ru/function.tempnam.php)
не могла создать файл в 'temp/' и делала это в '/tmp' по умолчанию, что повлекло проблемы с безопасным режимом.