Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

Uploading Photos

restricted by suPHP

5:43 pm on Apr 21, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 12, 2002
posts: 1146
votes: 0

Every since we turned on suPHP; we cannot upload images?
Re-saving a copying is restricted.
9:30 pm on Apr 22, 2010 (gmt 0)

Senior Member from KZ 

WebmasterWorld Senior Member lammert is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 10, 2005
votes: 24

suPHP causes all PHP scripts to be executed under the user rights of the owner of the script. If images were stored by PHP when PHP was working as another Linux user, it may be impossible to overwrite old files with an PHP working under the new user credentials if the file permissions of those files only allow write access by the original file owner. Only the original file owner or the root user can modify or delete such files.