How to Undo Chgrp Command!?
Posted on 2008-10-08
I managed to chgrp on everything on my ubuntu webserver via SSH.
I wanted to chgrp recursively on all the files in the current directory I was issuing the command. Unfortunately it isnt relative and providing a '/' as the location sent the server off to change the group of every file on the server.
Needless to say, the server is now messed up... we cannot take orders on our website and we cannot receive emails. Theres probably many more implications that we have not found.
So the question is... how can this be fixed.
I have contacted our dedicated server provider and they are having trouble too... apparently the backup we pay for does not cover group permissions? Strange.
So any one have any ideas of how to restore group permissions? Owner permissions are still inatact.
Any thoughts appreciated.