Posted January 31, 2016
sunshinecorp: sudo + chmod is harmless. you're just doing the chmod command with elevated permissions. you're correct in that most of the times it's not needed, but sometimes for various reasons the file isn't owned by the user and/or group so I habitually use it with sudo.
dtgreene: Actually, sudo + chmod can do a lot of damage if you are not careful or make a typo. Here is a command that will RUIN YOUR SYSTEM if run as root:
# chmod -R 777 /
If you want to try this command, load up a live CD in a virtual machine; do NOT try this on a system you care about. Recovering a system on which this command has been run is not easy, especially since sudo will no longer work.
Post edited January 31, 2016 by sunshinecorp