Support » Fixing WordPress » /uploads owned by apache, 777, still won’t allow img uploads

  • Matt

    (@intellivision)


    I know this is Just Another Image Uploader Problem thread.

    The uploaded file could not be moved to /var/www/vhosts/domain.com/httpdocs/wp/wp-content/uploads.

    etc

    I have to chmod many directories to 777 to get uploads to work, so I chown’ed wp-content/uploads to apache:apache, which is what WP-created files get as owner:group (like wp-config.php).

    No dice.

    So I chmod’ed it to 777.

    No dice.

    So what we have is the server trying to write a file to a 777 directory it owns, and it can’t.

    Why?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Matt

    (@intellivision)

    Sorry, this needs a bump. I think about this way too often. It’s not healthy.

    This is so against logic. Can someone out there help me sleep better at night?

    did you try to chmod the wp-contet -folder as well?

    Matt

    (@intellivision)

    Yep.

    wp-content 777
    wp-content/uploads 777

    have you tried some simple php upload script to test if the problem is just with your wordpress installation? If a simple php uploader wont work the problem has to be with the server.

    Matt

    (@intellivision)

    Good idea. I’ll try that.

    Thanks AnntiJN.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘/uploads owned by apache, 777, still won’t allow img uploads’ is closed to new replies.