Forums

/uploads owned by apache, 777, still won't allow img uploads (6 posts)

  1. intellivision
    Member
    Posted 10 months ago #

    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?

  2. intellivision
    Member
    Posted 10 months ago #

    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?

  3. AnttiJN
    Member
    Posted 10 months ago #

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

  4. intellivision
    Member
    Posted 10 months ago #

    Yep.

    wp-content 777
    wp-content/uploads 777

  5. AnttiJN
    Member
    Posted 10 months ago #

    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.

  6. intellivision
    Member
    Posted 10 months ago #

    Good idea. I'll try that.

    Thanks AnntiJN.

Reply

You must log in to post.

About this Topic