I have inadvertently changed the group ownership of the root directory on my Ubuntu Server 20.04 ☹️ Is there anyway to roll back the changes or reset the group ownership to out of the box (fresh install)?
I used the recursive option with the chgrp command which has obviously changed all files/folders below root. The command I used was sudo chgrp -R sambashare /
Any help or advice would be greatly appreciated