Last active
December 1, 2016 17:37
-
-
Save marcelosantos/023c195f3e0c7ae89a9c671de82813da to your computer and use it in GitHub Desktop.
Script para aplicar permissões em arquivos e diretórios
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
# Script para aplicar permissões em arquivos e diretórios | |
echo "755 em diretorios" | |
find $1 -type d -exec chmod 755 {} \; | |
echo "644 nos arquivos" | |
find $1 -type f -exec chmod 644 {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment