Interesting... same version here (Debian unstable) gives --2019-11-07 21:38:14-- https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-apps/lm-sensors/lm-sensors-3.6.0.ebuild Resolving gitweb.gentoo.org (gitweb.gentoo.org)... 108.28.123.238 Connecting to gitweb.gentoo.org (gitweb.gentoo.org)|108.28.123.238|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 6445 (6.3K) [text/plain] lm-sensors-3.6.0.ebuild: Permission denied
Cannot write to 'lm-sensors-3.6.0.ebuild' (Permission denied). Sorry, not sure what is different here. This commit should have fixed it: commit 3056617e9cf9a2c68989a2ff4e4266f6e7a4de45 Author: Tim Rühsen <tim.rueh...@gmx.de> Date: Wed Feb 10 15:23:13 2016 +0100 Retain value of errno in logprintf() * src/log.c (logprintf): Save&Restore value of errno Regards, Tim On 03.11.19 14:59, Francesco Turco wrote: > Hello. > > I'm using wget 1.20.3 on a Gentoo Linux system. > > I obtain a confusing "Success" error message from wget when trying to > download any file into a write-protected directory. > > Steps to reproduce: > 1) mkdir test > 2) chmod -w test > 3) cd test > 4) wget --no-config > https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-apps/lm-sensors/lm-sensors-3.6.0.ebuild > > This is the output of the last command: > >> --2019-11-03 14:53:34-- >> https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-apps/lm-sensors/lm-sensors-3.6.0.ebuild >> Resolving gitweb.gentoo.org... 108.28.123.238 >> Connecting to gitweb.gentoo.org|108.28.123.238|:443... connected. >> HTTP request sent, awaiting response... 200 OK >> Length: 6445 (6.3K) [text/plain] >> lm-sensors-3.6.0.ebuild: Permission denied >> >> Cannot write to ‘lm-sensors-3.6.0.ebuild’ (Success). > > Exit status is 3 (File I/O error). > > As far as I know you can try replacing the Gentoo ebuild I used with any > other file from the internet: the error message will be the same. > > Why does wget use the word "success" when it's clearly a failure instead? Is > this a bug? >
signature.asc
Description: OpenPGP digital signature