title: Laravel XAMPP Mac The stream or file "/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied
body: <p>I am trying to run an existing Laravel project on my localhost but when I try to run the dam thing I get this error:</p>
  
  <blockquote>
    <p>The stream or file "/storage/logs/laravel.log" could not be opened:
    failed to open stream: Permission denied</p>
  </blockquote>
  
  <p>I have tried the following:</p>
  
  <p><code>chmod -R 775 storage</code> and <code>chmod -R 777 storage</code></p>
  
  <p>Still nothing, I have even tried to do <code>chgrp -R www-data my-project</code> and I get this error in terminal</p>
  
  <pre><code>chgrp: www-data: illegal group name
  </code></pre>
  
  <p>What am I doing wrong?</p>