Created
May 24, 2016 05:23
-
-
Save goldnetonline/6e43d073a7a14aaeac341a707f98eff9 to your computer and use it in GitHub Desktop.
Bulk Chmod for linux servers
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
find ./ -type f -not -perm 644 -not -name ".ftpquota" -exec chmod 644 -c {} \;; find ./ -type d -not -perm 755 -not -group nobody -exec chmod 755 -c {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment