Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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. serverfault.com/questions/457725/… –  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: http://superuser.com/questions/132891/how-to-reset-folder-permissions-to-their-default-in-ubuntu-9-10

share|improve this answer

Your Answer

 
discard

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.