one_copy_entry.patch
src/oca/ruby/OpenNebula/ImageRepository.rb | ||
---|---|---|
178 | 178 |
end |
179 | 179 | |
180 | 180 |
begin |
181 |
FileUtils.copy(path, source) |
|
181 |
FileUtils.copy_entry(path, source)
|
|
182 | 182 |
set_permissions(source) |
183 | 183 |
rescue Exception => e |
184 | 184 |
return OpenNebula::Error.new(e.message) |