Users and groups of users in Linux and how to calculate the permissions

Users and groups of users in Linux and how to calculate the permissions