• Hey all,

    I recently moved my site to an unmanaged server. IE I have complete control over the server, it is not shared. I’m having a horrible time with permissions however. I’m fairly certain it’s an apache directive or php.ini problem. I’ve spent a couple hours searching for solutions, none of them work.

    So far:

    1) Moved entire site. It’s up and running no issues.
    2) All files are 644 and dir’s 755.
    3) All files are owned by my username.
    4) My user is also a part of the www-data group
    5) PHP safe_mode is off.

    chmod -R 777 uploads (for testing) brings no joy, problem remains.
    This is why I believe it’s in my apache setup.

    Fresh install of Ubuntu 12.04 64bit, Apache2, PHP-FTM w/fastCGI. Does anyone have a common fix for these symptoms?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Try changing the permissions on the wp-content directory to 766. If you still have problems, try 767, 775 or 777. Once your uploads are working, change the permissions on wp-content back to 755 again and check that everything still works OK.

    Thread Starter GrimPanda

    (@grimpanda)

    I chmodded uploads/* to 777 for this test.

    Using wp-content at 766, 767, 775, and 777 no joy.

    relevant screens:

    Changing perms:
    https://grab.by/npOw

    Attempts to upload after each try:
    https://grab.by/npOy

    O]

    Thread Starter GrimPanda

    (@grimpanda)

    Looking at my own screenshots… I realized I was editing my main wordpress and not the client one… doh (let me see if that was all)

    EDIT: Ensuring I am in the right directory now, the problem continues.

    Thread Starter GrimPanda

    (@grimpanda)

    Still testing, I got wp-content(777) and uploads/*(777) to work, but switching wp-content back to 755 brought it to a halt again. Also I noticed WP is running as www-data and not my username.. how do I change that?

    On my shared hosting server everything in wp-content is 755/644 appropriately under my acct username. I would like to be able to have those same perms in my VPS.

    wp-content 775 and uploads 777 are the lowest perms allowed where I can upload.

    however, now I get 403 errors on all uploaded files.

    Thread Starter GrimPanda

    (@grimpanda)

    Fixed: Although I don’t know if this is the best route.

    chown -R www-data:www-data ./

    On my wordpress directory worked. All folders are 755 now, and WP uploads new files as 666.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Unmanaged Hosting – WordPress transfer’ is closed to new replies.