Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Apr 16th, 2018 59 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. formacion@ubuntu:~$ cd /var/www
  2.  
  3. formacion@ubuntu:/var/www$ ls -la
  4. total 12
  5. drwxr-xr-x  3 root root 4096 abr  2 19:17 .
  6. drwxr-xr-x 14 root root 4096 abr  2 19:17 ..
  7. drwxr-xr-x  3 root root 4096 abr  9 20:23 html
  8.  
  9. formacion@ubuntu:/var/www$ sudo chown www-data:www-data html
  10.  
  11. formacion@ubuntu:/var/www$ ls -la
  12. total 12
  13. drwxr-xr-x  3 root     root     4096 abr  2 19:17 .
  14. drwxr-xr-x 14 root     root     4096 abr  2 19:17 ..
  15. drwxr-xr-x  3 www-data www-data 4096 abr 16 17:06 html
  16.  
  17. formacion@ubuntu:/var/www$ groups formacion
  18. formacion : formacion adm cdrom sudo dip plugdev lxd lpadmin sambashare
  19.  
  20. formacion@ubuntu:/var/www$ sudo usermod -a -G www-data formacion
  21.  
  22. formacion@ubuntu:/var/www$ groups formacion
  23. formacion : formacion adm cdrom sudo dip www-data plugdev lxd lpadmin sambashare
  24.  
  25. formacion@ubuntu:/var/www$ sudo chmod g+w html
  26.  
  27. formacion@ubuntu:/var/www$ ls -la
  28. total 12
  29. drwxr-xr-x  3 root     root     4096 abr  2 19:17 .
  30. drwxr-xr-x 14 root     root     4096 abr  2 19:17 ..
  31. drwxrwxr-x  3 www-data www-data 4096 abr 16 17:06 html
  32.  
  33. Salir de la sesiĆ³n y volver a entrar
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top