Support » Fixing WordPress » Upload Files (Permissions?)

  • I know this must be a common problem, but I searched and could not find a solution. When I try and upload a file, I get the following error:

    "Unable to create directory /usr/local/apache2/htdocs/wp-content/uploads/2006/04. Is its parent directory writable by the server?"

    I looked and I didn’t even have an uploads folder, so I created one, but that still did not help. My permissions for that directory looks like the following:

    -rw-r--r-- 1 1025 1011 32 Nov 18 18:18 index.php
    drwxr-xr-x 3 1025 1011 136 Mar 10 01:00 plugins
    drwxr-xr-x 5 1025 1011 120 Apr 1 10:25 themes
    drwxrw-rw- 2 1025 1011 48 Apr 1 11:30 uploads

    I’m certain this must be a permissions problem, but I’m just not sure what I am missing. My user/group managment skills in linux are not so good.

    Does anybody have any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Parent = wp-content. That’s the only one that must be writable. Nothing else.

    Thank you.

    Hmm. wp-content already seems to be writable for owner.

    drwxr-xr-x 5 1025 1011 152 Apr 1 11:30 wp-content

    Must I make it writable for everybody? I was thinking about giving shell access to friends in the future, and not sure I would want them having write access to this area.

    Is there a way to make it only writable for the blog software.

    Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Upload Files (Permissions?)’ is closed to new replies.