LibFileSystem: Preserve copy flags when recursing into directories

This commit is contained in:
Darshanx256
2026-04-08 22:39:39 +05:30
committed by Jelle Raaijmakers
parent 482e5e770f
commit 149ac3e674
Notes: github-actions[bot] 2026-04-13 10:01:59 +00:00

View File

@@ -279,7 +279,7 @@ ErrorOr<void> copy_file_or_directory(StringView destination_path, StringView sou
return Error::from_errno(EISDIR); return Error::from_errno(EISDIR);
} }
return copy_directory(final_destination_path, source_path, source_stat); return copy_directory(final_destination_path, source_path, source_stat, link_mode, preserve_mode);
} }
if (link_mode == LinkMode::Allowed) if (link_mode == LinkMode::Allowed)