Jump to content

File permissions -> GD Library


knowj

Recommended Posts

Currently on our web server when the GD image library creates an image it contains the group and file permissions of apache rather than the current site/ftp user. This causes issues when it comes to downloading the site to local or doing anything involving moving/deleting the images.

 

How would I go about setting up gd2/php/apache to create images as the site user/folder user rather than apache?

 

Is this a simple process or would it require recompiling php/apache?

 

Setup: php5.1.2, Fedora Core 6 with Plesk 8.2 (don't know if plesk has any impact on the changes that can be made and keeping its full functionality).

Link to comment
Share on other sites

thanks for the quick reply.

 

Do you know if this apache module stable enough to use within a commercial environment? Would this be a method large hosting companies use or will they have their own custom setups?

We're running suPHP on our (my company, not PHPFreaks) production servers - No problems.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.