Just putting this here as a note for myself.
File permissions in Linux can be displayed in octal format using Linux stat command.
stat -c '%A %a %n' *
How can I get octal file permissions from command line? - Ask Ubuntu