Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

1 Answer 1

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.