Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664488 - net-misc/wget-1.19.5: Cannot write to (…) (Success).
Summary: net-misc/wget-1.19.5: Cannot write to (…) (Success).
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-24 16:25 UTC by lekto
Modified: 2018-08-26 10:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,5.72 KB, application/x-info)
2018-08-24 16:25 UTC, lekto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lekto 2018-08-24 16:25:39 UTC
Created attachment 544758 [details]
emerge --info

Today I tried to use wget without permission to write (forgot sudo) and I got weird message:
>lekto@blaszak /usr/portage/sys-apps/lm_sensors $ wget https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-apps/lm_sensors/lm_sensors-3.4.0_p20180820.ebuild
>--2018-08-24 18:16:26--  https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-apps/lm_sensors/lm_sensors-3.4.0_p20180820.ebuild
>Resolving gitweb.gentoo.org... 85.143.112.91
>Connecting to gitweb.gentoo.org|85.143.112.91|:443... connected.
>HTTP request sent, awaiting response... 200 OK
>Length: 6338 (6.2K) [text/plain]
>lm_sensors-3.4.0_p20180820.ebuild: Permission denied
>   
>Cannot write to ‘lm_sensors-3.4.0_p20180820.ebuild’ (Success).
Comment 1 Jonas Stein gentoo-dev 2018-08-26 05:50:05 UTC
I can confirm that.
I read (Success) as (Successful download)
I thin this is no Gentoo bug, but comes from upstream. Please discuss it there.
Comment 2 Thomas Deutschmann gentoo-dev Security 2018-08-26 07:27:50 UTC
Cannot reproduce:

> thomas@testbox /usr/portage/sys-apps/lm_sensors $ wget https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-apps/lm_sensors/lm_sensors-3.4.0_p20180820.ebuild
> --2018-08-26 09:13:27--  https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-apps/lm_sensors/lm_sensors-3.4.0_p20180820.ebuild
> Resolving gitweb.gentoo.org (gitweb.gentoo.org)... 85.143.112.91
> Connecting to gitweb.gentoo.org (gitweb.gentoo.org)|85.143.112.91|:443... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 6338 (6,2K) [text/plain]
> lm_sensors-3.4.0_p20180820.ebuild.1: Permission denied
> 
> Cannot write to ‘lm_sensors-3.4.0_p20180820.ebuild.1’ (Permission denied).

Please retry with 'wget --no-config ...' to make sure the executing user hasn't set any default option.

Please also check "exit" code (`echo $?`) after the command, just in case ...

I know that I have seen what you have reported in the past especially when pipe was involved but this isn't the case here.
Comment 3 lekto 2018-08-26 10:42:48 UTC
lekto@blaszak /usr/portage/sys-apps/lm_sensors $ wget --no-config  https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-apps/lm_sensors/lm_sensors-3.4.0_p20180820.ebuild
--2018-08-26 12:38:45--  https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-apps/lm_sensors/lm_sensors-3.4.0_p20180820.ebuild
Resolving gitweb.gentoo.org... 85.143.112.91
Connecting to gitweb.gentoo.org|85.143.112.91|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6338 (6.2K) [text/plain]
lm_sensors-3.4.0_p20180820.ebuild.1: Permission denied

Cannot write to ‘lm_sensors-3.4.0_p20180820.ebuild.1’ (Success).
lekto@blaszak /usr/portage/sys-apps/lm_sensors $ echo #?

lekto@blaszak /usr/portage/sys-apps/lm_sensors $ echo $?
0
lekto@blaszak /usr/portage/sys-apps/lm_sensors $ emerge -pvO wget 

These are the packages that would be merged, in order:

[ebuild   R    ] net-misc/wget-1.19.5::gentoo  USE="nls pcre ssl zlib -debug -gnutls -idn -ipv6 -libressl -ntlm -static -test -uuid" 4,352 KiB

Total: 1 package (1 reinstall), Size of downloads: 4,352 KiB