Answer the question
In order to leave comments, you need to log in
How to restore chown in FreeBSD?
Hello.
Accidentally done on FreeBSD 9 chown -R www:www /
Yes, I know, stupid, ruined everything. Tell me, please, how can I return chown to its original state on the main directories?
Answer the question
In order to leave comments, you need to log in
It is not necessary to restore chown, but the rights to everything and everything in the system. It’s definitely not easy to do this ... It’s better to reinstall ...
No way. Such jambs are not easily corrected. It's easier to do a reinstall
If there are backups, then pull out information from there for each file, which user and group it belongs to. If it’s the main one, then ... install the same OS somewhere and take information about user groups for all files from there.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question