Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i have connected on Root with SSH Access.

Becouse i transfer the files with root, all files was root own. I need it to be on other user, so i was connected on as my current folder: var/www/vhosts/mypage/httpdocs/

I have posted this command: chown -R extius /

The changes was done, and after i got: 500 - Internal Server Error !

I just see, that i have reset all files to my username, including root files. Now i can't connect on the root, how i can fix this?

Also, i can't connect on root. Can you fix this problem?

share|improve this question
up vote 4 down vote accepted

In short: no, your system is screwed. You will need physical access, but even then there is a great chance that the only thing you will be able to do is extract files with a live disk.

The best thing to do is to restore your backups.

share|improve this answer
So, anyway did there is possible my hosting provider to get fix this problem with changing all files permisions to root? Thanks – Seik Mar 25 '12 at 20:03
no, not a chance. – Lucas Kauffman Mar 25 '12 at 20:05
So what is the best in this case? To get all files and to reinstall the server? Then to upload at all? – Seik Mar 25 '12 at 20:07
If you made the mistake of not making backups, yes. – Lucas Kauffman Mar 25 '12 at 20:12
I'd suggest paying very close attention to what you are doing with each command until you have a good grasp of each. Things do not work the same way in Linux as they do in Windows. And I'd suggest not doing so much as root. You have immense power to completely goof up your servers when root. – Magellan Mar 26 '12 at 1:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.