So as the title suggested while troubleshooting a warning message, I mistakenly ran the following command in my Mac Terminal:
sudo chmod go-w /usr
Is this likely to cause me any problems and if so, can I undo it?
I also ran this to try and solve my original issue (which was on the wrong track altogether):
chmod 766 /usr/local
However this said it didn’t have permission to run so hopefully that was harmless.
I will be much more careful with such commands in the future!
If the command did not have permission run then nothing was done and you will be fine.
Also giving the
/usr/local folder sudo rights won’t do any harm.