I think %04jo may be more appropriate to show a standard octal mode ?