Guest User

Untitled

a guest
Oct 23rd, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. sudo chmod -R 777 /opt/lampp
  2.  
  3. chmod -R 777 /var/www
  4.  
  5. chmod -R 777 /var/www
  6.  
  7. find /var/www -type f -exec chmod -x {} ;
  8.  
  9. groupadd development
  10.  
  11. chown -R www-data:development /web
  12.  
  13. chmod -R 570 /web
  14.  
  15. chmod -R g+rwxs /web/
  16.  
  17. find /web -type f -exec chmod -x {} ;
  18.  
  19. groups username
  20.  
  21. usermod -G development username
  22.  
  23. umask 0002
  24.  
  25. Subsystem sftp internal-sftp -u 0002
  26.  
  27. usermod -G otrogrupo,development,... username
Add Comment
Please, Sign In to add comment