Created
May 9, 2017 08:09
-
-
Save ZahidRasheed/30784d07e4ed8ab8e820e25209a9efb2 to your computer and use it in GitHub Desktop.
Fix broken permission for ubuntu php project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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