Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 ran this command on my ubuntu 12.04 by mistake:

chown someuser / -R

On RHEL it would be fixed by this command:

rpm --setugids -a

Is there anyway to fix it in ubuntu server?

share|improve this question
Please do not crosspost your question.… – gertvdijk Dec 13 '12 at 11:12

There is not an straight forward way to do it, as far as I know. This answer can probaly help you a bit:

share|improve this answer

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.