Permissions for storage

Other topics

Example

We also need to set correct permissions for storage files in the server. So, we need to give a write permission in the storage directory as follows:

$ chmod -R 777 ./storage ./bootstrap

or you may use

$ sudo chmod -R 777 ./storage ./bootstrap

For windows

Make sure you are an admin user on that computer with writeable access

xampp\htdocs\laravel\app\storage needs to be writable

The NORMAL way to set permissions is to have your files owned by the webserver:

sudo chown -R www-data:www-data /path/to/your/root/directory

Contributors

Topic Id: 9797

Example Ids: 30178

This site is not affiliated with any of the contributors.