Revision 933f4a61 src/oca/ruby/OpenNebula/Image.rb
src/oca/ruby/OpenNebula/Image.rb | ||
---|---|---|
192 | 192 |
|
193 | 193 |
begin |
194 | 194 |
FileUtils.copy(path, source) |
195 |
FileUtils.chmod(0660, source) |
|
195 | 196 |
rescue Exception => e |
196 | 197 |
return OpenNebula::Error.new(e.message) |
197 | 198 |
end |
Also available in: Unified diff