Well, If you are using Imagemagic the location is set by your host. Usually you have no control over paths or permission settings.
So if you need to verify the paths or settings you need to contact your host.
Or if available switch to GD2 for testing as a option.