最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

CentOS 7 cPanel - Setting Correct Permissions

programmeradmin0浏览0评论

I have a pre existing server running whm/cpanel which has a Wordpress site that needs to be moved to its own server.

I have move the files and database across and everything is ready except for a few errors that certain directories are not writeable by a particular plugin.

On the original server everything is stored under /home/frt (created by adding a new account in WHM). The user is frt and the group is frt. The directories are set to 755 and files to 644.

I have setup the new server in exactly the same way, so I cannot figure out why I am getting these errors. They only disappear if I set permissions to 777 on the relevant folders. 775 does not work either.

Another thing I have noticed is there is no apache user or group on the new server, nut there is on the original CentOS 6 server.

I have little experience with CentOS, usually I use Debian so I'm not sure how things should work or if this is actually correct.

Can someone advise me how I can get the permissions set correctly?

The Errors are:

ERROR: Path ../wp-content/connection_images does not seem to be writeable.
ERROR: Path ../wp-content/connections_templates does not seem to be writeable.
ERROR: Path ../wp-content/plugins/connections/cache does not seem to be writeable.

发布评论

评论列表(0)

  1. 暂无评论