Menu

mail user access

UNIX Help
2006-01-22
2013-04-25
  • Nobody/Anonymous

    Hallo all,

    I am trying to use the email option te send a photo to someone and receive the understated error. When I installed the app user id 99 held on to the tmp directory. The temp does not have write access and I can not seem to change this. I have no rights on this user id. How do I change this?
    Thanks

    Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 32022 is not allowed to access /home/escape/public_html/photo/sql/tmp owned by uid 99 in /home/xxx/public_html/photo/actions/basket_build_mail.php on line 91

    Warning: filesize() [function.filesize]: SAFE MODE Restriction in effect. The script whose uid is 32022 is not allowed to access /home/escape/public_html/photo/sql/tmp owned by uid 99 in /home/xxx/public_html/photo/actions/basket_build_mail.php on line 160

    Warning: filesize() [function.filesize]: stat failed for ../sql/tmp/mail_16374b050676277fcb0f8e2398001d86_0/114.jpg in /home/xxx/public_html/photo/actions/basket_build_mail.php on line 160

    Warning: dir() [function.dir]: SAFE MODE Restriction in effect. The script whose uid is 32022 is not allowed to access /home/escape/public_html/photo/sql/tmp owned by uid 99 in /home/xxx/public_html/photo/actions/basket_build_mail.php on line 214

    Warning: dir(../sql/tmp/mail_16374b050676277fcb0f8e2398001d86_0) [function.dir]: failed to open dir: Permission denied in /home/xxx/public_html/photo/actions/basket_build_mail.php on line 214

    Fatal error: Call to a member function read() on a non-object in /home/xxx/public_html/photo/actions/basket_build_mail.php on line 215

     
    • Vytautas Krivickas

      Hi,

      Are you able to disable the php safemode?  If so try that.

      Vytautas

       
      • Nobody/Anonymous

        Thank you for the reply but what is php safemode and how can ik see if I can disable it?

         
        • bzrudi

          bzrudi - 2006-02-01

          Hi,

          because of the URL I guess you are using a hosting provider. In this case you are lost ;-)
          If not, and you have access to /etc/php.ini you can disable the safe_mode option and restart/reload Apache.

          cheers bzrudi

           
    • Anonymous

      Anonymous - 2006-02-19

      maybe you can create an other tmp directory, which has the same UID as the script

      (you would also have to change the tmp directory in the basket_build_mail.php

       

Log in to post a comment.