If you use Fedora and WordPress and you get this error while trying to upload an image to your post:
The uploaded file could not be moved to /usr/share/wordpress/wp-content
All you need to do is labeling your uploads directory with the httpd_sys_content_t type:
[root@nyarlathotep wp-content]# pwd
/usr/share/wordpress/wp-content
[root@nyarlathotep wp-content]# chcon -t httpd_sys_content_t uploads/ -R
I hope this is useful for somebody else.
Very Good~!!
thank you
Very Good
thank you, this solves my problem
Thanks for creating such a useful weblog. this site happens to be not only informative but also very artistic too. There normally are a limited number of experts who can write technical content that creatively. A lot of people search for articles about a topic like this. I have gone through several blogs to build up on knowhow about this.I will check back often !!