Pages (2):    1 2
Member
Member
sbillard   21-11-2013, 18:34
#21

And the pair is determined by Zenphoto from the files permissions by "ANDing" 0111 to it. Thus $conf['CHMOD'] = 0644; yields 0755 for folders.

Member
Member
klikini   21-11-2013, 23:45
#22

Reinstalling now (waiting for FTP of all the files to finish). Every time I install ZP, I get: Zenphoto suggests you make the sensitive files in the zp-data folder accessable by owner only (permissions = 0600). The file permissions for setup.log are 0644 which may allow unauthorized access. What should I do about this? I usually just ignore it...

Member
Member
sbillard   21-11-2013, 23:56
#23

Probably for your server you should ignore this, but understand that these files might be vulnerable.

But that you get this error at all would indicate your site has severely restricted what applications can do with regard to setting file permissions. (Either that or you are not running current Zenphoto software. I do hope that you checked and are not making that mistake.)

Sometimes hosters get a bit too aggressive with their security and cripple legitimate applications. All totally unnecessary and a bit naive of them.

Member
Member
klikini   21-11-2013, 23:59
#24

Is there anything in the files I would care about? The public can only read them, right? And they aren't advertised.

Member
Member
sbillard   22-11-2013, 00:11
#25

Well, for instance, your MySQL credentials are in the configuration file. You probably don't want the public to read that. They are not advertised, but any hacker worth his salt will have read the Zenphoto code and know how to find them.

Member
Member
klikini   22-11-2013, 00:23
#26

Okay. So should I set the permissions of the files to 600 and folders to ...?

Also: HostGator said that the FTP account and the admin account were the same, so "owner" will always be me.

Member
Member
sbillard   22-11-2013, 00:49
#27

I cannot make recommendations for your host. If he is correct then the settings from setup would work. Since apparently they do not something is amiss.

Member
Member
klikini   22-11-2013, 00:53
#28

Site is up and running, added that code to the config file. I uploaded a test image and it worked! Now what should I set the permissions for the zp-data dirs to? Files are 600 now.

Pages (2):    1 2
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.