diff options
-rw-r--r-- | lib/ssh.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1400,7 +1400,7 @@ static CURLcode ssh_statemach_act(struct connectdata *conn, bool *block) case SSH_SFTP_QUOTE_MKDIR: rc = libssh2_sftp_mkdir_ex(sshc->sftp_session, sshc->quote_path1, (unsigned int)strlen(sshc->quote_path1), - 0755); + data->set.new_directory_perms); if(rc == LIBSSH2_ERROR_EAGAIN) { break; } |