Adam
Adam

Reputation: 3518

Laravel - Recommended server permissions Ubuntu

I have deployed successfully a Laravel website, although to modify the files over SMB share I had to modify the entire /var/www folder permissions to 777.

Can that cause a security issue? What should be correct permissions?

Many thanks!

Upvotes: 0

Views: 143

Answers (1)

Jerodev
Jerodev

Reputation: 33186

You should give the entire folder a 755 permission so all files can be read by the server. The app/storage folder should have 777 to make sure it is writable.

Upvotes: 1

Related Questions