Skip to content

Instantly share code, notes, and snippets.

View LostinOrchid's full-sized avatar

Vigo2 LostinOrchid

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

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.