Object
This returns the file permissions as a string from an octal number.
# File lib/vagrant/util/file_mode.rb, line 6 def self.from_octal(octal) perms = sprintf("%o", octal) perms.reverse[0..2].reverse end