php artisan cache:clear, Failed to clear cache. Make sure you have the appropriate permissions. code example

Example 1: php artisan cache:clear Failed to clear cache. Make sure you have the appropiate permissions

alias larclear='php artisan cache:clear && php artisan config:cache && php artisan permission:cache-reset && php artisan config:clear && php artisan view:clear && php artisan route:clear && php artisan telescope:clear && php artisan debugbar:clear'

Example 2: failed to clear cache. make sure you have the appropriate permissions. laravel

#Just only add folder named data in storage/framework/cache/ and try
php artisan cache:clear