Feature #15415 ยป 0001-fileutils-mv-fall-back-to-copy-unlink-on-EPERM.patch
| lib/fileutils.rb | ||
|---|---|---|
|
end
|
||
|
begin
|
||
|
File.rename s, d
|
||
|
rescue Errno::EXDEV
|
||
|
rescue Errno::EXDEV,
|
||
|
Errno::EPERM # move from unencrypted to encrypted dir (ext4)
|
||
|
copy_entry s, d, true
|
||
|
if secure
|
||
|
remove_entry_secure s, force
|
||
|
-
|
||