I made a massive mistake by recursively changing the user of every file under /usr . I can't boot my laptop by any normal means following this mistake, and I'm looking for a way to revert the effects of it.
In order to tackle this problem I started my computer on recovery mode and switched to console as root. My original idea was to change the owner of /usr ( and all files under it ) back to root. I tried :
chown --recursive root /usr chown -hR root /usr
Sadly this results on all folders under the usr saying Read-only file system, a sample line would be :
chown : changing the ownership of '/usr/bin/...' : Read-only file system
I'm not sure whether there has been no change at all, or I shouldn't refer to root as 'root' on the above line.
Besides this, I have tried a few other things that I found here and there but I was unable to revert the effects of my mistake.
I would be grateful if anyone can point me towards any solution. It would also be very kind of you to mention why it was so wrong to change the owner of the contents under usr, considering that I'm the only user in this operating system.
Thanks in advance for your time.