Created
December 24, 2019 11:06
-
-
Save juizmill/05c3f9f5a79f8e69fff60fe3f570e5d4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# permissao de pasta e arquivos | |
find /var/www/dashboard/ -type f -exec chmod 644 {} \; | |
find /var/www/dashboard/ -type d -exec chmod 755 {} \; | |
chown -R 1000:www-data /var/www/dashboard/ | |
chmod g+s /var/www/dashboard/ | |
chmod g+w /var/www/dashboard/ | |
#criar Grupo maquina local | |
sudo groupadd -g 1010 www-data | |
# docker | |
usermod -g root www-data | |
groupdel www-data | |
groupadd -g 1010 www-data | |
usermod -aG www-data www-data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment