Member
Member
Tiger_Joe   2012-06-24, 16:34
#1

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.

Member
Member
sbillard   2012-06-24, 16:40
#2

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.

Member
Member
Tiger_Joe   2012-06-24, 17:55
#3

I know .. any ideas how to solve ? :-)

Administrator
Administrator
acrylian   2012-06-24, 18:10
#4

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.

Member
Member
Tiger_Joe   2012-06-24, 18:17
#5

Before running setup: is there any chance to change the chmod while the setup process ? I can´t remember ..

Administrator
Administrator
acrylian   2012-06-24, 19:01
#6

Setup provides the option to do that.

Member
Member
Tiger_Joe   2012-06-24, 19:08
#7

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.

Member
Member
Tiger_Joe   2012-06-24, 19:18
#8

Got it .. let me check if it makes a difference. Doubt, that cache files will be affected as well ..

Administrator
Administrator
acrylian   2012-06-24, 19:24
#9

Probably a good idea to delete the cache files so they are re-created.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.