chmod +777 stands for
Grants execute permission to owner,group and others
Grants write permission to owner,group and others
Grants read permission to owner,group and others
Grants All permissions to owner.group and others: 4 (read) + 2 (write) + 1 (execute) = 7