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.View (u)ser, (g)roup and (o)thers permissions for chmod 777 (chmod a+rwx) or use free on chmod calculator to modify permissions easily.