I am running Freebsd 7.1 release. I have an 'ezjail' created jail and I was logged in as root with 'jexec'.
I wanted to "chown -R www:www /usr/local/www" because of some permission issue.
Instead I accidentally "chown -R www:www /usr/local"
Now the all the file and directories in '/usr/local' is own by user "www"
I think I might have done some serious damage to the jail. I haven't executed any further commands after that. Is there any way to revert the last action made in Freebsd? Or could I restore the original permissions for '/usr/local' with 'ezjail-admin'?
I wanted to "chown -R www:www /usr/local/www" because of some permission issue.
Instead I accidentally "chown -R www:www /usr/local"
Now the all the file and directories in '/usr/local' is own by user "www"
I think I might have done some serious damage to the jail. I haven't executed any further commands after that. Is there any way to revert the last action made in Freebsd? Or could I restore the original permissions for '/usr/local' with 'ezjail-admin'?