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?
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.
Comments
Ideally any file created by a script should be owned by the userid that the script runs under.
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