Skip to content

Instantly share code, notes, and snippets.

Avatar

Vigo2 LostinOrchid

  • Go2DesignLab
View GitHub Profile
@LostinOrchid
LostinOrchid / machine-user-as-owner.md
Last active Jul 13, 2020
Laravel File Permissions
View machine-user-as-owner.md

Assuming www-data is the webserver user.

It's not needed but for the sake of shortening commands we will set the LARAVEL_ROOT env variable to the root of our laravel app.

LARAVEL_ROOT=/path/to/your/laravel/root/directory

Change the ownership of our project folder.