From f7eb533f85d0941dbf6edb3081f065e4c010b8cc Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Mon, 8 Oct 2018 08:24:14 +0000 Subject: Vendor import apr-1.6.5 --- file_io/unix/copy.c | 1 + 1 file changed, 1 insertion(+) (limited to 'file_io/unix/copy.c') diff --git a/file_io/unix/copy.c b/file_io/unix/copy.c index df3a49c8209ec..7f74d30c16b84 100644 --- a/file_io/unix/copy.c +++ b/file_io/unix/copy.c @@ -41,6 +41,7 @@ static apr_status_t apr_file_transfer_contents(const char *from_path, return status; } perms = finfo.protection; + apr_file_perms_set(to_path, perms); /* ignore any failure */ } else perms = to_perms; -- cgit v1.2.3