Browse Source

On permission errors, also fallback from move to copy

default_compile_flags
vector-of-bool 5 years ago
parent
commit
9bb6c72378
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/dds/util/fs.cpp

+ 1
- 1
src/dds/util/fs.cpp View File

return; return;
} }


if (ec != std::errc::cross_device_link) {
if (ec != std::errc::cross_device_link && ec != std::errc::permission_denied) {
throw std::system_error(ec, throw std::system_error(ec,
fmt::format("Failed to move item [{}] to [{}]", fmt::format("Failed to move item [{}] to [{}]",
source.string(), source.string(),

Loading…
Cancel
Save