WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Unable to create uploads folder

[Resolved] Unable to create uploads folder

  • Here is my error message:
    "Unable to create directory wp-content/uploads. Is its parent directory writable by the server?"

    Before you suggest that I should change the permissions to the folders and so on. please take your time to explain WHY I should change permissions to 777 etc etc.

    No matter the permissions the wp-content/uploads folder has, the server-user is apparently unable to create a new folder inside. (believe me I have tried almost every combination of permission). Seems to me that this is something of a server issue, what I am looking for here is a proper explanation to this issue so that I can bring this to my hosting company, so that they can subsequently make a permanent fix.

    I am currently speculating that wordpress/apache do not want to make subfolder inside a folder owned by another user(specifically the uploads folder, I have no idea why). Since this folder was created during a previous version of either wordpress and/or apache, it now has the ownership of the user installing wordpress to begin with. Problem now being that as long as I do not have a proper shell or root access to the server, I am unable to change the ownership of any file on my server to try this theory of mine. Will apache/wordpress be able to create a subfolder in uploads if I change the ownership on the uploads folder to the web-server user?

    If this is the issue is it a problem brought on by wordpress itself, apache or maybe a combination of both? What really is the problem here?

Viewing 1 replies (of 1 total)
  • No matter the permissions the wp-content/uploads folder has, the server-user is apparently unable to create a new folder inside

    The permissions issue is most likely on /wp-content rather than the /uploads directory. wp-content is the “parent directory” in this case.

    . please take your time to explain WHY I should change permissions to 777 etc etc.

    You shouldn’t change it 0777. You can temporarily make /wp-content writable and WordPress should then be able to create the new folder, but you don’t want 0777 permissions anywhere.

    I am currently speculating that wordpress/apache do not want to make subfolder inside a folder owned by another user

    And that’s probably just how you want it.

    This isn’t usually a problem brought about by WordPress or Apache directly, but rather one of how Apache and php are being run, or sometimes by automated WordPress installers. If you’re on a shared host and your account is using suPHP, you shouldn’t be having this issue.

    You should probably contact your host for some assistance.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Unable to create uploads folder’ is closed to new replies.
Skip to toolbar