Setting up proper permissions to a laravel directory
There are basically two ways to setup your ownership and permissions. Either you give yourself ownership or you make the webserver the owner of all files.
Webserver as owner (the way most people do it):
Assuming www-data
is your webserver user.