Skip to content

Instantly share code, notes, and snippets.

@atomsfat
Created May 27, 2013 22:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atomsfat/5659302 to your computer and use it in GitHub Desktop.
Save atomsfat/5659302 to your computer and use it in GitHub Desktop.
smart command to troubleshoot permission on directories
dir=/tmp/level1/level2/level3/level4/level5/level6; while [ "$dir" != "/" ]; do ls -ald $dir; dir=`dirname $dir`; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment