Re: Wordpress: How To Allow httpd to write to /usr/share/wordpress/wp-content/uploads

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/10/2009 04:06 AM, Dominick Grift wrote:
On Wed, Sep 09, 2009 at 10:53:58PM -0400, Robert L Cochran wrote:
On 09/09/2009 10:37 PM, Robert L Cochran wrote:
I installed Wordpress 2.8.3 on Fedora 11 and attempted to upload a
photo to the directory
/usr/share/wordpress/wp-content/uploads/2009/09/, but failed even
though my Wordpress "author" role permits file uploads. Wordpress uses
php for scripting. I suspected that I had set file permissions
incorrectly. Here are the permissions on /usr:
see if this works:

chcon -R -t httpd_sys_content_rw_t /usr/share/wordpress/wp-content/uploads/


Dominick, it does, and I want to thank you for your help. You and Dan Walsh very kindly pointed out the solution to me. I can now upload images to the Fedora version of Wordpress.

I've filed a bug on this:

https://bugzilla.redhat.com/show_bug.cgi?id=522897



Thanks

Bob Cochran


--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux