diff options
Diffstat (limited to 'lib/easy.c')
-rw-r--r-- | lib/easy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/easy.c b/lib/easy.c index d5816bc48..5c8d6bb3e 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -731,6 +731,8 @@ void curl_easy_reset(CURL *curl) data->set.ssh_auth_types = CURLSSH_AUTH_DEFAULT; /* defaults to any auth type */ + data->set.new_file_perms = 0644; /* Default permissions */ + data->set.new_directory_perms = 0755; /* Default permissions */ } #ifdef CURL_DOES_CONVERSIONS |