I came across a piece of code where chmod permissions are getting mapped to an integer.
33204 // -rw-rw-r-- 36863 // -rwsrwsrwt 36855 // -rwsrwSrwt 36799 // -rwSrwsrwt 36351 // -rwsrwsrwx 36343 // -rwsrwSrwx
How are these permissions mapped to an integer number?
I am trying to find what permissions these numbers
33261, 41453 map to?
I looked at various links, but I could find one that converts permissions into a number. Can someone help me with the conversion? Thanks in advance!