unixchmodnumber-sequence

what is the *chmod* number series called?


I am struggling to find a name for the the series that file permissions in unix are represented by.

The numbers which can add up to a unique sum and no other combination of numbers from that set can add up to that unique sum.

The numbers in series are 1,2,4,.....?


Solution

  • So, Just to have an answer to my question, the CHMOD numbers are called Bitmask and they are basically binary numbers starting from 2 and proceeding with the power of 2 each time.

    One thing useful about this series is that no two numbers from this series add up to any other number from this series.