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