Help with settings for VPS install

Permalink
I am installing a c5 site on a VPS at Network Solutions. I have changed permissions on the config/, packages/ and files/ directories, but keep getting the messages (The config/, packages/ and files/ directories must be writable by your web server.)

Seems like someone would have been through this before. are there any setup docs for a VPS install.

davidgtdfw
 
olliephillips replied on at Permalink Reply
olliephillips
First thing I'd check is that you're setting permissions recursively using chmod -R - files in particular has sub-directories that need to be writeable.

After that it will be likely be that the webserver user does not own the files you're changing permissions on.

Hope that helps.
davidgtdfw replied on at Permalink Reply
davidgtdfw
How do I see who owns the files and how to change it if needed.
olliephillips replied on at Permalink Reply
olliephillips
The recursive flag didn't help?

Try different permissions on those folders first; first 775, then 777, all done recursively.

If C5 can then write, you know it's an ownership issue.

Then you can either leave the permissions (which itself is not a a problem as long as your server is properly configured), or set them back to 755 and look at ownership.

But this is a bit complicated, and server configurations vary widely - probably something to get your host involved with.
davidgtdfw replied on at Permalink Reply
davidgtdfw
I have set all to 777 and no luck.
olliephillips replied on at Permalink Reply
olliephillips
I think you need some help from your host. That's the obvious stuff done, which should mean anyone can write to the folders and subfolders you've set them on. I certainly would have expected 777 to work, albeit not be the best solution.

Could be something configured which is limiting your webserver user's permissions, perhaps access control like selinux or apparmor - things I don't know enough about to be able to assist you I'm afraid.

Good luck
davidgtdfw replied on at Permalink Reply
davidgtdfw
Thanks

- David