I have inadvertently changed the group ownership of the root directory on my Ubuntu Server 20.04 xe2x98xb9xefxb8x8f 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 xf0x9fx98x8a