0o5400
0o5400 is an octal numeral, a base-8 representation commonly used in computing for numeric literals and file permission bits. Interpreted as a decimal value, 0o5400 equals 2816; in hexadecimal it is 0x0B00. In programming languages that use an 0o prefix for octal numbers, such as Python, 0o5400 is read as the integer value 2816.
In Unix-like systems, a four-digit octal value such as 05400 (often written with a leading zero) can
- Special bits: 5, which combines setuid (4) and sticky (1).
- Owner permissions: 4, which means read permission only.
- Group permissions: 0 (no permissions).
- Other permissions: 0 (no permissions).
As a file mode, 05400 would indicate that the setuid and sticky bits are set, while the
0o5400 can also appear in code as an octal literal, independent of file permissions, representing the same