You are not logged in.

#1 2010-10-21 22:21:12

darkbeanies
Member
Registered: 2009-01-14
Posts: 142

chowned mistake SOLVED

Okay, hypothetical situation...(cough cough)

1. Say you executed the following command by mistake:

sudo chown myusername /*

2. And then went "aaaaaaaargh!!!"

3. And then used the following command to try and avert disaster:

sudo chown root /*

4. And then also (for good measure)

sudo chown myusername ~/

5.  And then rebooted and hoped for the best...

My question, in summary, is "is it gonna be alright?"

Last edited by darkbeanies (2010-10-21 22:33:41)

Offline

#2 2010-10-21 22:28:29

ChoK
Member
From: France
Registered: 2008-10-01
Posts: 346

Re: chowned mistake SOLVED

chown is not recursive by default, is it?


Ah, good taste! What a dreadful thing! Taste is the enemy of creativeness.
Picasso
Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away.
Saint Exupéry

Offline

#3 2010-10-21 22:29:35

darkbeanies
Member
Registered: 2009-01-14
Posts: 142

Re: chowned mistake SOLVED

No, thank the gods it is not recursive.

Offline

#4 2010-10-21 22:31:28

ChoK
Member
From: France
Registered: 2008-10-01
Posts: 346

Re: chowned mistake SOLVED

You're alright then smile


Ah, good taste! What a dreadful thing! Taste is the enemy of creativeness.
Picasso
Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away.
Saint Exupéry

Offline

#5 2010-10-21 22:32:29

darkbeanies
Member
Registered: 2009-01-14
Posts: 142

Re: chowned mistake SOLVED

Woohoo!  Thank you...I'm a bit tired and ill today... :-)

Offline

Board footer

Powered by FluxBB