Octal Permissions Lookup Table

Table 4.2 shows a selection of octal permissions along with their actual permissions (as shown by the ls -l command). It may help you if haven't yet been able to get your head around using octal numbers to represent absolute permissions (don't worry—you'll get used to it!). Note: the initial character representing the file type is not included.

Table 4.2. Octal Permissions Table
Octal PermissionsActual Permissions
400r--------
440r--r-----
444r--r--r--
500r-x------
550r-xr-x---
555r-xr-xr-x
600rw-------
640rw-r-----
660rw-rw----
664rw-rw-r--
666rw-rw-rw-
700rwx------
755rwxr-xr-x
775rwxrwxr-x
777rwxrwxrwx
1777rwxrwxrwt
2444r--r-lr--
2555r-xr-sr-x
4555r-sr-xr-x
6555r-sr-sr-x

Get Solaris™ Operating Environment Boot Camp now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.