chmod 777Setting 777 permissions (chmod 777) to a file or directory means that it will be readable, writable and executable by all users and may posechmod 777 is considered potentially dangerous because you are giving read, write and execute permission on a filedirectory to everyone.