I'd leave mode as an octal string