set the value S_IRWXU for windows, so that when copying via sftp, the necessary permissions for the file are set

This commit is contained in:
vladimir.kuznetsov 2023-04-19 17:58:03 +03:00
parent 97e322ba22
commit f5a26c7116

View file

@ -6,7 +6,7 @@
#include <fstream>
#ifdef Q_OS_WINDOWS
#define S_IRWXU 0
const uint32_t S_IRWXU = 0644;
#endif
namespace libssh {