Advertisement
Guest User

Untitled

a guest
Apr 21st, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. # Siga até a pasta que antecede a do seu site (p. ex., /var/www/pastadomeusite; então vá até /var/www/ pelo terminal) e dê o comando:
  2. chown -R www-data pastadomeusite
  3. chmod -R g+w pastadomeusite
  4.  
  5. #Aplicar a permissão 755 e 644 a todas as pastas e arquivos, respectivamente:
  6. find /var/www/pastadomeusite -type d -exec chmod 755 {} \;
  7. find /var/www/pastadomeusite -type f -exec chmod 644 {} \;
  8.  
  9.  
  10. #Lembre-se de substituir "/var/www/pastadomeusite" pelo caminho da pasta do seu site.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement