From f5a26c71160bb5019979fa15ba50c94648eaf1c1 Mon Sep 17 00:00:00 2001 From: "vladimir.kuznetsov" Date: Wed, 19 Apr 2023 17:58:03 +0300 Subject: [PATCH] set the value S_IRWXU for windows, so that when copying via sftp, the necessary permissions for the file are set --- client/core/sshclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/core/sshclient.cpp b/client/core/sshclient.cpp index 39d9f4f1..795af965 100644 --- a/client/core/sshclient.cpp +++ b/client/core/sshclient.cpp @@ -6,7 +6,7 @@ #include #ifdef Q_OS_WINDOWS -#define S_IRWXU 0 +const uint32_t S_IRWXU = 0644; #endif namespace libssh {