Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. "storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied
  2.  
  3. nginx version: nginx/1.12.2
  4. built by gcc 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC)
  5. built with OpenSSL 1.0.2k-fips 26 Jan 2017
  6. TLS SNI support enabled
  7. configure arguments: ... --user=nginx --group=nginx ...
  8.  
  9. sudo chown -R $USER:nginx /path/to/project
  10.  
  11. sudo find /path/to/project -type f -exec chmod 664 {} ;
  12. sudo find /path/to/project -type d -exec chmod 775 {} ;
  13.  
  14. sudo chmod -R 775 storage
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement