I try to install laravel on my Linux Ubuntu machine using :
composer create-project laravel/laravel mysite
I do get theses error messages :
file_put_contents(/home/myuser/.composer/cache/repo/https---packagist.org/p-provider-2016.json): failed to open stream: Permission denied http://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date Installing laravel/laravel (v5.7.19)
[ErrorException] mkdir(): Permission denied
How can i set permissions on linux to properly install laravel ?