WordPress.org

Ready to get started?Download WordPress

Forums

Upload Files (Permissions?) (3 posts)

  1. endianx
    Member
    Posted 8 years ago #

    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?

  2. moshu
    Member
    Posted 8 years ago #

    Parent = wp-content. That's the only one that must be writable. Nothing else.

  3. endianx
    Member
    Posted 8 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic