Project

General

Profile

Feature #15415 ยป 0001-fileutils-mv-fall-back-to-copy-unlink-on-EPERM.patch

normalperson (Eric Wong), 12/15/2018 12:27 AM

View differences:

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
-
    (1-1/1)