I installed a new website cms yesterday. I cloned my basic htdocs/ directory and installed and configured the site. I went to remove permissions I didn't want on the site files and made a crazy bad mistake. As you can see from the title, I typed:
I put an extra space between the htdocs and the /. Unreal.>:(
I realized after about 2-3 seconds it was taking too long. Did a Crtl-C to stop it, but a lot of damage was done... oh boy.
Does anyone have any suggestions outside of a reinstall? I'm on the machine that I borked. Got most functionality back. Can't get my own web server to run...
This is why I NEVER do that kind of stuff as root! I had been trying to get Drupal to work and was having so many issues I'd got into the bad habit of do everything as root. I'm an idiot. Oh well.
Any advice for the village idiot?
Cheers,
Terry.
Code:
chmod o-wx htdocs /
I realized after about 2-3 seconds it was taking too long. Did a Crtl-C to stop it, but a lot of damage was done... oh boy.
Does anyone have any suggestions outside of a reinstall? I'm on the machine that I borked. Got most functionality back. Can't get my own web server to run...
This is why I NEVER do that kind of stuff as root! I had been trying to get Drupal to work and was having so many issues I'd got into the bad habit of do everything as root. I'm an idiot. Oh well.
Any advice for the village idiot?
Cheers,
Terry.