Solve wordpress plugin download, the installation fails, you can not create directory problem

Disclaimer: This article is the original article CSDN bloggers "blue Jamo", and follow CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/advancingstone/article/details/79644892

==========================================================================

In fact, there is indeed a problem not create the directory permissions, but not the directory permissions to read and write, but the problem of user groups.

Want to download the plug-in user groups as a web user groups, user name, group name www (you may not be the same, if it is in accordance with the way I did before loading lnmp environment of students, is www, you may be in the first row ngnix.conf view, as nginx.conf position on the search with locate nginx.conf it), but this time wordpress user groups, so you can not create a directory for the root.

I am here to change the folder wordpress blog

We entered ll blog in the default directory (in fact, ls -l blog) you can see the user group, the next is the root


Here we modify chown -R www: www blog /

 

Go try it, never stop method using chmod 777 a! ! ! !
 

Released seven original articles · won praise 0 · views 10000 +

Guess you like

Origin blog.csdn.net/loverzai/article/details/104076197