LibFileSystem: Preserve copy flags when recursing into directories
This commit is contained in:
parent
482e5e770f
commit
149ac3e674
1 changed files with 1 additions and 1 deletions
|
|
@ -279,7 +279,7 @@ ErrorOr<void> copy_file_or_directory(StringView destination_path, StringView sou
|
|||
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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue