About Us  |  Blog  |  Hosting Partners  |  Legal  |  Portal Login

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> stupid mistake - urgent help neded
janc
post May 21 2008, 11:47 AM
Post #1


Newbie


Group: Members
Posts: 6
Joined: 24-July 06
Member No.: 22,653



I have made a stupid mistake. In root folder / I typed chmod -R 666 *

Now I can't reverse this since the chmod can't be executed anymore and no other script either. Is there any solution to this or do I have to make a restore?

thanks for your help
Go to the top of the page
 
+Quote Post
Tomy Durden
post May 21 2008, 02:01 PM
Post #2


SuperGeek
Group Icon

Group: The Planet Staff
Posts: 1,042
Joined: 18-May 07
From: Dallas, Tx
Member No.: 48,459



Hmm... this'll take some trickery...

If you have another linux box, try to scp the binary from that box over the chmod on the 666 box.

Make sure the permissions are preserved. You'll probably have to do it from the good server since you can't execute scp on the 666 box.

If this doesn't work, use the Automated Restore option in Orbit to boot your server into a LiveCD type environment and then chmod the files.

If that doesn't work... restore.


--------------------
Tomy Durden
Data Center Manager - Operations Projects Team
Go to the top of the page
 
+Quote Post
janc
post May 21 2008, 02:45 PM
Post #3


Newbie


Group: Members
Posts: 6
Joined: 24-July 06
Member No.: 22,653



QUOTE (Tomy Durden @ May 21 2008, 08:01 PM) *
Hmm... this'll take some trickery...

If you have another linux box, try to scp the binary from that box over the chmod on the 666 box.

Make sure the permissions are preserved. You'll probably have to do it from the good server since you can't execute scp on the 666 box.

If this doesn't work, use the Automated Restore option in Orbit to boot your server into a LiveCD type environment and then chmod the files.

If that doesn't work... restore.


thanks for the answer but the scp option is not working since the password gets rejected - I also can't log into the server via SSH again

I also don't seem to be able to find Automated Restore option in Orbit. I only see the reload OS options. Anyway I have entered the support ticket in Orbit but I guess the restore is the only option...

thanks again
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 21st November 2009 - 05:32 PM
 

Dedicated Servers

Managed Hosting

Colocation

Business Solutions

Why The Planet?

Contact Us