I am getting the following error
Unable to create directory /wp-content/uploads. Is its parent directory writable by the server?
whenever I try to upload images via the Media tab in Wordpress. I am running on a LAMP setup, specifically on Ubuntu with Wordpress version 4.1.1. I'm working on a localhost site otherwise I would provide a link. I've tried all of the solutions that I have found and so far, none of them have worked.
Things I've tried:
- I recursively changed the permissions of the wp-content folder to 777. (I'll downgrade the permissions to a safer setting after this problem is solved.)
- I changed the group owner of the uploads folder to www-data as seen in this solution so that Apache would have group ownership of the folder.
- I deleted the .htaccess file and resaved the permalinks setting.
- I tried changing the uploads path in wp-config.php.
I asked this same question on the Wordpress forums and received one answer that I tried, but it didn't work for me. At this point I have no clue what to try. If anybody has an idea of what I need to do to get this to work it would be greatly appreciated.