curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

No error on unwritable output file

From: Paul Gilmartin via curl-users <curl-users_at_lists.haxx.se>
Date: Mon, 10 Jul 2023 14:12:24 -0600

Trying to inject an error for a test, I did chmod a-w of my --output
file. Curl exited with status 0. I would have expected:
     curl: (23) Failure writing output to destination

... which I get if I run curl in a read-only directory.

-- 
Thanks,
gil
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-07-10