Wordpress Permissions For Image Uploads

Manuel Aróstegui manuel at todo-linux.com
Sat Sep 5 17:04:25 UTC 2009


El sáb, 05-09-2009 a las 12:52 -0400, Robert L Cochran escribió:
> I installed the Fedora package of wordpress and promptly created a user 
> account for myself and tried to upload a photo to my first post. The 
> upload keeps failing due to permissions problems. Wordpress wants to 
> upload (via php scripts) to
> 
> /usr/share/wordpress/wp-content/uploads/2009/09.
> 
> I think I need to change /usr/share/wordpress to allow the user apache 
> group ownership:
> 
> chown -R root.apache /usr/share/wordpress
> 
> then give group write and execute permissions for /usr/share/wordpress 
> and all its subdirectories:
> 
> chmod -R g+wx /usr/share/wordpress.
> 
> Are there any Wordpress users out there with advice for me about whether 
> this makes sense?

Are you sure it can access /usr then /usr/share?
If it cannot access /usr/share first it will keep failing.

Manuel.




More information about the fedora-list mailing list