chmod 777You can type chmod 777, leave a space after it, and then drag the file or folder from Finder into Terminal. Terminal will fill in the correct path for you.chmod 777 is considered potentially dangerous because you are giving read, write and execute permission on a filedirectory to everyone.