D
D
Dmitry Naumenko2012-07-14 17:43:04
FreeBSD
Dmitry Naumenko, 2012-07-14 17:43:04

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

3 answer(s)
A
Alukardd, 2012-07-14
@SilverFire

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 ...

S
sl_bug, 2012-07-14
@sl_bug

No way. Such jambs are not easily corrected. It's easier to do a reinstall

N
NiGHt_LEshiY, 2012-07-14
@NiGHt_LEshiY

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 question

Ask a Question

731 491 924 answers to any question