We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5147e78 + 8f8cea7 commit 7b310b6Copy full SHA for 7b310b6
1 file changed
src/session_server_ssh.c
@@ -46,7 +46,7 @@ base64der_key_to_tmp_file(const char *in, int rsa)
46
return NULL;
47
}
48
49
- umode = umask(0600);
+ umode = umask(0177);
50
fd = mkstemp(path);
51
umask(umode);
52
if (fd == -1) {
0 commit comments