chmod 777Thus, 777 (111 111 111) is all permissions for everyone, while 700 (111 000 000) is all permissions only for the owner. Other combinations are also common: 666 (110 110 110) isTo apply chmod 777 to all the files and subfolders within the folder, you can use the find command in combination with the chmod command.