chmod 777To apply chmod 777 to all the files and subfolders within the folder, you can use the find command in combination with the chmod command.chmod 777 makes a filefolder readable, write-able and executable by everyone. So essentially on your site folder, you have given everyone permission to write to that folder, so you have