# File lib/buildr/core/transports.rb, line 487 def upload(source, options = nil) super if File === source then File.chmod(source.stat.mode, real_path) end end