Question: why is chmod 777 dangerous?
Answer: “chmod 777” means making the file readable, writable and executable by everyone. It is dangerous because anyone can modify or alter the content.