ZenphotoCMS Forum
Setup file creation ownership problems - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Setup file creation ownership problems (/thread-9287.html)



Setup file creation ownership problems - seroxatmad - 20-11-2011

Hi

When I run setup the 2 files created within zp-data are created as owner and group as apache.
Is this my hosting company to blame or can I add something to the script to force these created files to keep my ownership rights?

cheers




Setup file creation ownership problems - sbillard - 20-11-2011

This is a server configuration. If Zenphoto is in the apache group there should not be a problem. Otherwise, you may need to change these permissions.

Ideally any file created by a script should be owned by the userid that the script runs under.




Setup file creation ownership problems - seroxatmad - 20-11-2011

Hi

Thanks for the reply.

Yes it seems that only these two files created during setup are not using my userid. I have had problems in the past when uploading images etc. The permissions are fine if i upload via FTP but uploading via zenphoto often creates ownership problems,

I keep having to ask the hosting company to remove these files for me or change the owner/groups.

Cheers




Setup file creation ownership problems - sbillard - 20-11-2011

Ask your hosting company to insure that your PHP scripts run under your userid.