Applyed a command to the wrong directory... How bad it is?
So, I’m completely new to Linux and VPS in general but so far I’m quite pleased with the experience, the thing is that I’m not the most avid linux user -duh!- so with that in mind I’m prone to making mistakes…
My problem is that I was following this guide https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-on-ubuntu-14-04 and this one https://www.digitalocean.com/community/tutorials/how-to-set-up-multiple-wordpress-sites-on-a-single-ubuntu-vps and for whatever reason my session timed out and had to reconnect… and I continued with the guide and did not check the directory I was in once I logged back… home… and applied this command at that location “sudo chown www-data:www-data * -R” … so my question is… How bad it is? Do I screwed the VM? Is there a way to undo that command? Back to square one and learn from my mistakes ? :P
I used a secondary user with sudo privileges as per the initial configuration setup guide.