ddollar/foreman — pull request #350 by jonaswitt (2013-04-04 13:49:46+00:00)
Title: chmod: print mode in octal format (if given as a number)

In Foreman::Export::Base.chmod, the new file mode was printed as-is, which means printing an octal number in decimal format (if a number-style argument is passed to FileUtils.chmod). This changes it to octal output (unless a string mode is passed).