Hi,
If you prefer 775 instead of 777 you can just change the owner or group to belong to the http owner/group.
The issue is caused by the fact that it is actually the webservers owner that is trying to write to the file and not you.
Depending on which webserver you are running,something like
Text Formatted Code
chown httpd <directory>
chown httpd <file>
chmod -r 775 <directory>
will do the trick.
Best Regards,
Boris
Vanrillaer.com - our Family Portal