Author Topic: Big oops  (Read 2678 times)

hans

  • Guitar Addict
  • Jackass In Charge
  • Posts: 3523
  • Karma: +46/-18
Big oops
« on: May 14, 2010, 11:41:08 AM »
So I'm setting up the dev machine for work and have most of it done after a day or two of work and I'm trying to get the source control working and changing file permissions and accidentally miss the . in a chown -R user:group ./*

So I ended up executing:
chown -R user:group /*


Big oops, and I tried to ctrl-c as soon as I saw it but it was too late. I think I'm going to have to reinstall and start all over. Ugh.
This signature intentionally left blank.

Mike

  • Jackass In Charge
  • Posts: 11257
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
Re: Big oops
« Reply #1 on: May 14, 2010, 01:36:48 PM »
Why would you ./* at all instead of just using *?

hans

  • Guitar Addict
  • Jackass In Charge
  • Posts: 3523
  • Karma: +46/-18
Re: Big oops
« Reply #2 on: May 14, 2010, 01:41:05 PM »
I don't know. 'Cause I'm not really a sysadmin and I don't know better? It just came out that way when I typed out the command.

Sort of one of the reasons I get frustrated at work; had I done that on a prod box we'd be in big trouble. And more than likely it's a rookie sysadmin mistake. I only half know what I'm doing most of the time.

I'm also going to claim it was early in the morning and I was tired and frustrated and not thinking straight. Not to mention the pizza I had for dinner last night.
This signature intentionally left blank.