Skip to content

Instantly share code, notes, and snippets.

@terashim
Last active February 17, 2021 04:16
Show Gist options
  • Save terashim/ecf769205e240c403f4ec12150dcf44b to your computer and use it in GitHub Desktop.
Save terashim/ecf769205e240c403f4ec12150dcf44b to your computer and use it in GitHub Desktop.
check Laravel cache files permission
# check Laravel cache files permission
cd /path/to/laravel/root/directory
find storage/framework/cache -printf "%y %4m %8u %8g %p\n"
# output example
#> d 2775 apache laravel storage/framework/cache
#> d 2775 apache laravel storage/framework/cache/data
#> f 664 apache laravel storage/framework/cache/data/.gitignore
#> d 2755 ec2-user laravel storage/framework/cache/data/47
#> d 2755 ec2-user laravel storage/framework/cache/data/47/13
#> d 2755 ec2-user laravel storage/framework/cache/data/f9
#> ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment