find /var/www/html -type f -iname "*" -print0 | xargs -I {} -0 chmod 0444 {}
find /var/www/html -type d -iname "*" -print0 | xargs -I {} -0 chmod 0544 {}
Last active
December 29, 2015 04:36
-
-
Save bitkidd/e7d6555326cb9946c3e6 to your computer and use it in GitHub Desktop.
readonly permissions for files and folders
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment