chmod 777The chmod command modifies the mode bits and the extended access control lists (ACLs) of the specified files or directories. The mode can be definedchmod 777 is considered potentially dangerous because you are giving read, write and execute permission on a filedirectory to everyone.