the permission - الصلاحيات linux command

u              g              o

r w x           r w x         r w x

4 2 1         4 2 1         4 2 1


read = 4     write = 2    execute = 1   no permission = 0

read and write and execute = 7        read and write = 6    read and execute = 5     write and execute = 3