Hi.

If stat returns 777 (octal), protection returns 0x777 (hexadecimal). The
documentaion claiming this as the same value should be fixed.

Sincerely,
Joachim