Actions
Feature #15415
closed[PATCH] fileutils (mv): fall back to copy + unlink on EPERM
Description
fileutils (mv): fall back to copy + unlink on EPERM
With ext4 encrypted directories, renaming a file from an
unencrypted directory to an encrypted directory gives EPERM.
Fall back to copying and unlink in that case, since it's
similar in spirit to dealing with EXDEV.
I'm not sure if this is a good idea or not; but we'll hit another
EPERM anyways if we can't read or write the file.
Files
Updated by hsbt (Hiroshi SHIBATA) over 6 years ago
- Status changed from Open to Assigned
Updated by hsbt (Hiroshi SHIBATA) about 6 years ago
- Status changed from Assigned to Closed
Applied in changeset trunk|r67212.
fall back to copy + unlink on EPERM
[Feature #15415][ruby-core:90536]
Co-authored-by: Eric Wong [email protected]
Actions
Like0
Like0Like0