chmod 777 or 755? Learn to use chmod Command with Examples
chmod 777Yes, it is dangerous to set chmod 777 permissions. You should only use chmod 755 for directories and chmod 644 for files. You should onlyTo apply chmod 777 recursively to a folder and all its contents, you can use the -R