We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12320
    • 88 Posts
    i get a tiny problem with this snippet, the preview are generated but without the correct rights
    the owner is correct and he is the one allowed by suphp for running php.
    but the browsing is done under the www-data and connot be display according to the rights below :
    -rw-rw-rw- 1 myuser myuser 211574 2010-07-23 13:23 call.jpg
    -rw------- 1 myuser myuser 25874 2010-07-23 13:23 tn_call.jpg


    My configuration :
    apache2 php5 gd & suphp.

    I have read the sources and do not find any rights for the writing of the preview.
    My questions are around suphp, do you think that is it badly setup ? any clue ?
    the quick fix is to set the correct chown ... do you have better than that ?
      Thanks to the authors of the following code :
      Easy Newsletter (module)
      SiteMap (snippet)
      Codepress (Plugins)
      Strict URLs (Plugins)
      Virtual Aliases (Plugins)
      Maxygallery (snippet)
      • 12320
      • 88 Posts
      it was a bad configuration of suphp

      the correct parameter was :
      umask = 0022
        Thanks to the authors of the following code :
        Easy Newsletter (module)
        SiteMap (snippet)
        Codepress (Plugins)
        Strict URLs (Plugins)
        Virtual Aliases (Plugins)
        Maxygallery (snippet)