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
https://forums.phpfreaks.com/topic/120340-file-permissions-gd-library/
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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.