wordpress can't create directory

I am already root and have executed chmod 755 wp-content, but the permissions remain the same as before: drwxr-sr-x (666).

drwxr-sr-x 13 root http 4096 Mar 4 11:54 wp-content.

my wordpress folder location is /srv/http/my file.

Thank you very much!

1 Reply

I would recommend ensuring that the file/directory that you are trying to modify belongs to the root user group:

sudo chown root file.name

Then using the -R flag:

sudo chmod -R 755 /path/to/file/

I have seen a number of similar posts over at superuser that turned out to be solved by the above recommendations.

Hope that helps!



Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct