
d r-x - a directory whose user class has read and execute permissions and whose group and others classes have no permissions.Īnother method for representing permissions is an octal (base-8) notation as shown.The read bit adds 4 to its total (in binary 100).Įach of the three rightmost digits represents a different component of the permissions: user, group, and others.Įach of these digits is the sum of its component bits As a result, specific bits add to the sum as it is represented by a numeral: This notation consists of at least three digits.The write bit adds 2 to its total (in binary 010), and.The execute bit adds 1 to its total (in binary 001).

These values never produce ambiguous combinations.
