title: Can't delete laravel storage cache folder
body: <p>I am new in Laravel.</p>
  
  <p>I am trying to delete the data folder which is under <code>/storage/framework/cache/</code>.</p>
  
  <p>I did <code>php artisan cache:clear</code> which produces: <code>Application cache cleared!</code></p>
  
  <p>But when I go into the directory <code>/storage/framework/cache/data</code> then I see the old cache folders are still there and when I try to delete the folder manually then I get permission issue.</p>
  
  <p>I have followed the below thread to give permissions to the storage folder.</p>
  
  <p><a href="https://stackoverflow.com/questions/30639174/how-to-set-up-file-permissions-for-laravel">How to set up file permissions for Laravel?</a></p>
  
  <p>Permission level - </p>
  
  <pre><code>drwxrwsr-x   7  ubuntu   www-data 4096 Apr 24 22:48 storage
     drwxrwxr-x   7  ubuntu   www-data 4096 Apr 28 16:57 framework
       drwxrwxr-x   4  ubuntu   www-data 4096 Apr 29 18:32 cache
          drwxrwxr-x   39 www-data www-data 4096 Apr 29 20:36 data
  </code></pre>
  
  <p>I am logged in as a user <code>subadmin</code> who is under <code>www-data</code> group. I can though delete the folder manually after login as user <code>ubuntu</code> but not as <code>subadmin</code></p>
  
  <p>Any help is highly appreciated.</p>