Public bug reported: This is what happens when you try to download a file to a full directory:
themusicgod1@eva1:/media/themusicgod1/SPORT GO$ torify wget https://traffic.libsyn.com/secure/ovpod/136b.mp3 --2022-01-09 10:16:27-- https://traffic.libsyn.com/secure/ovpod/136b.mp3 Resolving traffic.libsyn.com (traffic.libsyn.com)... 204.16.246.216 Connecting to traffic.libsyn.com (traffic.libsyn.com)|204.16.246.216|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://hwcdn.libsyn.com/p/0/0/7/007ca33471fad13e/136b.mp3?c_id=91067747&cs_id=91067747&expiration=1641750153&hwt=ebf5b4b8fae48f2fe1721f159de3b2a9 [following] --2022-01-09 10:16:28-- https://hwcdn.libsyn.com/p/0/0/7/007ca33471fad13e/136b.mp3?c_id=91067747&cs_id=91067747&expiration=1641750153&hwt=ebf5b4b8fae48f2fe1721f159de3b2a9 Resolving hwcdn.libsyn.com (hwcdn.libsyn.com)... 205.185.216.42 Connecting to hwcdn.libsyn.com (hwcdn.libsyn.com)|205.185.216.42|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 61214165 (58M) [audio/mpeg] Saving to: ‘136b.mp3’ 136b.mp3 80%[==============================================================================================> ] 47.13M 805KB/s in 65s Cannot write to ‘136b.mp3’ (Success). themusicgod1@eva1:/media/themusicgod1/SPORT GO$ echo $? 3 so the returned value is 3, which is sensible. But the error message (Success) is not accurate: the file was not successfully downloaded. wget: Installed: 1.20.3-1ubuntu1 Candidate: 1.20.3-1ubuntu1 Version table: *** 1.20.3-1ubuntu1 500 500 http://muug.ca/mirror/ubuntu focal/main amd64 Packages 100 /var/lib/dpkg/status ubuntu 20.04 LTS focal ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: wget 1.20.3-1ubuntu1 ProcVersionSignature: Ubuntu 4.15.0-45.48-generic 4.15.18 Uname: Linux 4.15.0-45-generic x86_64 ApportVersion: 2.20.11-0ubuntu27 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: ubuntu:GNOME Date: Sun Jan 9 10:18:07 2022 InstallationDate: Installed on 2017-04-18 (1726 days ago) InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412) SourcePackage: wget UpgradeStatus: Upgraded to focal on 2020-04-25 (623 days ago) modified.conffile..etc.apport.crashdb.conf: [modified] mtime.conffile..etc.apport.crashdb.conf: 2020-06-07T21:16:26.397404 ** Affects: wget (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1956873 Title: not being able to write to file is not "Success" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/wget/+bug/1956873/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs