Skip to content

Instantly share code, notes, and snippets.

@ZahidRasheed
Created May 9, 2017 08:09
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 ZahidRasheed/30784d07e4ed8ab8e820e25209a9efb2 to your computer and use it in GitHub Desktop.
Save ZahidRasheed/30784d07e4ed8ab8e820e25209a9efb2 to your computer and use it in GitHub Desktop.
Fix broken permission for ubuntu php project
cd /home
find /home/*/public_html -type f -name '*.php' | xargs chmod 0644 --
find /home/*/public_html -type d | xargs chmod 0755 --
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment