Files and directories owner are changed to root for all user

Files and directories owner are changed to root for all user

Recently I found a weird problem. All files and directories owner of every user are changed to root. I found the way to reset owner back but It is a little bit pain if I need to do for all hundred users. Is there any tool working like set_permissions.sh to reset owner back? And how this happens?
Before I face this problem. I had a permission issue before. But it end up with a set_permissions.sh.
Comments are closed.