IMO, that's a bit harsh
Should not have been modifying permissions to begin with...Without knowing exactly what it is you changed, would be hard to give you step by step instructions.
IMO, that's a bit harsh.
The OP may have just "twitched" at the wrong moment and clicked on the wrong button.
It's happened to me.
It is a bit like Linux forum denizens saying RTFM (which is generally useless anyway).
Most modern software help assumes that you already know, how to do, what you are asking for help about!

If I don't know how to do something, I invariably I have to do an Internet search (especially for Linux help).
The only way to find out what things do, is to try them out.
Knowing the theory, is only half the battle.
When I worked as a technician, I used to be sent projects by engineers (that I had to construct) and a lot of them were
never going to work.
Engineers should be well versed in theory (they got paid a lot more than I did, for that very reason).
IMO, the real lesson is:
When you are not sure of the outcome,
ALWAYS make a backup image,
BEFORE messing around with things.