I've just started trying to put a small web server on a Raspberry Pi running Rasbian Jessie. I've been following the steps to run CakePHP from this article: http://tecadmin.net/setup-cakephp-3-on-linux/
The issue comes when I hit step 3. I typed the command to make an app and it throws the ErrorException mkdir:Permission denied
From searching on here, this has something to do with my group permissions but that setting them to 0777 is dangerous. Can anyone explain what needs permission and how I would do that? Thank you!