1. 进入wordpress文件目录
ls -l查看当前文件夹拥有权限用户
wp-content 文件夹权限属于root用户
2. sudo chown -R www-data:www-data wp-content.
问题解决!