Hey guys, I’ve been using Grav for a few weeks now and love it from a custom content type perspective but getting this installed on a server has been a big pain unfortunately. I’m using Digital Ocean to host it and now have it installed and running, but I am not able to post anything as I am getting a permissions error:
Creating directory '/var/www/website.com/public_html/user/pages/03.blog/post2' failed on error mkdir(): Permission denied
I checked the directories and it looks like the correct permissions is being set, I even opened it all the way up (777) and still had the issue…
In my FTP client I can see the permissions setting on files and folders. From what I can tell the directories that need to be 755 are good to go so I’m just not sure what’s up?
You should also see the Owner and the Group of every folder and file.
or just type on the shell for example “ls -l”
If you set the server up yourself, just check that your ftp user is also a member of “www” group. If your Webser has no ownership of any kind to folders and files, than it is impossible for grav (the webserver) to create/change a file or folder.