upload folder permissions on WordPress installation on verio VPS

After I set up WordPress on my verio VPS hosting account I was able to upload images but was getting this error message in the end:

Unable to create directory /home/wesleyed/www/marinainnwa.com/wp-content/uploads. Is its parent directory writable by the server?

By default when you install WordPress on verio VPS hosting it will install it into a subdirectory of your domain…. I moved all of the WordPress files and folders up one directory so that it would operate from my domain root folder. It looks like I don’t have the proper permissions set up for the uploads directory. So the question becomes “how to set permissions on folders on verio VPS hosting accounts”…

Turns out there was not even a “uploads folder” in my directory… so I created it and gave it the following permissions. After trying to upload another image I got the following error:

“The uploaded file could not be moved to /home/wesleyed/www/marinainnwa.com/wp-content/uploads.”

I think I’m just going to check with support on this one or the WordPress forum.

2 thoughts on “upload folder permissions on WordPress installation on verio VPS

  1. I'm pretty sure you might have figured this out by now.. and maybe not, but.. I would check your ownership and permissions for the wp-content and uploads directory. You truly should only need them to be 755, and then the ownership on the directories to be your user, example:

    drwxr-xr-x 5 user user 4.0K Jul 7 11:44 wp-content

    When attempting to build any CMS sites on any of our VPS accounts, permissions will always be an issue if you're attempting to use the default location /www/htdocs (/var/www/html). The issue is due to your user not being the root user, and not being able to FTP to those directories, because they belong to root.

    Your administrative user can upload using a FTP client, but you're not going to be able to do it, using any web script, since web users don't have permission to write to your site, and would be a security risk if they were able to.

    Now, if you're set up under a virtual host, and you're still having those same issues, I would look back on how your ownership is set up for those directories, but you shouldn't need any permissions higher than 755 on your wp-content directory.

    Sorry if I wasn't too clear, or added way too much on the explanation.. but, I truly hope this helps. I use our servers as well, and I love WordPress. Good luck!

Leave a Reply

Your email address will not be published. Required fields are marked *