WordPress Filesystem permissions fail to be writable, even changed wp-content folder to 755 or 777

1

Hi guys,

I am facing this problem for days. I build website based on Wordpress, by using EC2 - Ubuntu - Apache2. I reserched many motheds of changing filesystem permissions: I used SFTP to change "wp-content" permissions to 755 / 777. But I could not still install or upload any files. And, I also used SSH to change permissions as well by comman chmod. And, I could not install plugins for troubleshooting for the same reason.

Could you guys help me for that? Much appriciated!

Cheers Shiyu

Shiyu
已提问 1 年前434 查看次数
2 回答
0

Are all directory files under "wp-content" set to 755?

profile picture
专家
已回答 1 年前
  • Hi Riku, thanks so much at first. I just set "wp-content" this whole folder to 755. All files inside, I didn't do anything for that. Did you mean, I should also set all of them individually to 755?

    Cheers Shiyu

  • If you change the permissions on the "wp-content" folder, you can still create files. However, individual files should not be able to be deleted or edited without editing the permissions on the individual files.

  • Thanks so much. While, the problem I am facing is that I could not create any files or folders via WordPress dashboard when I wanted to downlaod any theme or upload img to there. Even my "wp-content" is 755 for now.

0

Is SELinux enabled (what is the output of sestatus) ?

profile picture
专家
Steve_M
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则