chmod 777chmod 777 is considered potentially dangerous because you are giving read, write and execute permission on a filedirectory to everyone.Using chmod 777 file