chmod 777chmod 777 is considered potentially dangerous because you are giving read, write and execute permission on a filedirectory to everyone.chmod 777 foldername will give read, write, and execute permissions for everyone. chmod 700 foldername will give read, write, and execute