PHP Safe Mode and Bad Owner in Uploaded Files
-
Hi, I installed WP 3.0.3 on a Apache 2.2 with PHP5 [safe mode ON] Linux server.
When I post a new article and upload a related pic, then I see the file in the upload location with owner/grop assigned both to webserver user/group, and not to the system user.
I have that:
ls -al wp-content/uploads/
drwxrwx— 2 example-com www-data 488 Dec 15 10:21 .
drwxrwx— 6 example-com www-data 184 Dec 15 10:21 ..
-rw-rw—- 1 www-data www-data 6544 Dec 15 10:21 90_03_36-Christmas-Decorations_web-115×115.jpgThe CMS works fine on web, but I have problems with FTP client operations that result in permission denied because of bad file owner.
In short… I really prefer files owned with example-com system owner when uploaded with the WP, and not logging everytime and giving bash command to chown files.
Thanks
- The topic ‘PHP Safe Mode and Bad Owner in Uploaded Files’ is closed to new replies.