ubuntu laravel storage permission 1

ubuntu laravel storage permission

sudo chgrp -R www-data storage bootstrap/cache
sudo chmod -R ug+rwx storage bootstrap/cache

Here is what the above code is Doing:
1. Install the dependencies
2. Create a new database
3. Create a new user for the database
4. Grant the user all privileges on the database
5. Create a .env file
6. Generate an application key
7. Set the permissions for the storage and cache directories

Similar Posts