Chmod 600

Hi there. I have a problem, generating the pictures. Everytime I upload pictures the cache dir is being chmodded 600, which makes it unpossible to see/view pictures.

A already saw some solution, but from 2005. The files have been changed in the meantime. Any ideas, how to adjust the i.php to become the cache files beeing chmodded 755 automatically ?

Txs in advance.

Comments

  • The default value for chmod is set by setup and stored in the zenphoto configuration file. 0600 is pretty strict, and of course not good for folders that WEB browsers have to fetch from.
  • I know .. any ideas how to solve ? :-)
  • acrylian Administrator, Developer
    Re-run setup and change it. If that doesn't work you have to do it via your FTP client directly. And in case your server changes that by itself you need to contact your host.
  • Before running setup: is there any chance to change the chmod while the setup process ? I can´t remember ..
  • acrylian Administrator, Developer
    Setup provides the option to do that.
  • I am in the setup right now. Cant see any option to change chmodding. If it would be possible I should also be able to edit it in the config file, am I right ? Where to find it, because it is definitely not in the setup process.
  • Got it .. let me check if it makes a difference. Doubt, that cache files will be affected as well ..
  • acrylian Administrator, Developer
    Probably a good idea to delete the cache files so they are re-created.
Sign In or Register to comment.