How to set up file permissions for Laravel?

When you are working on a laveral 5 project and are using apache web server that has the owner set to _www:_www, you should know what is the best method to set up file permissions for Laravel? The /storage folder must be readable for Laravel 5. The official Laravel documentation for file permission says the …

Read More

[Fix] unsafe repository (‘/home/repon’ is owned by someone else)

Recently I found an error log while using apache 2, which is abruptly stopped my program, unsafe repository (‘/home/repon’ is owned by someone else). Here is a snippet of the error I got: Why unsafe repository (‘/home/repon’ is owned by someone else) error is seen? The error , ‘unsafe repository (‘/home/repon’ is owned by someone …

Read More