Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193854 - portage-2.1.3.9 causes all fetch downloads to fail due to Permission denied for distdir target file
Summary: portage-2.1.3.9 causes all fetch downloads to fail due to Permission denied f...
Status: RESOLVED DUPLICATE of bug 187702
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-26 10:12 UTC by Jimmy Rosen
Modified: 2007-09-26 10:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jimmy Rosen 2007-09-26 10:12:53 UTC
Upgrading from portage-2.1.2.12 to portage-2.1.3.9 causes all emerge fetches to fail. Example (ut2004-demo):

jiroburk gentoo # emerge -1 ut2004-demo
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) games-fps/ut2004-demo-3334 to /
Adjusting permissions recursively: '/home/gentoo/distfiles/'
>>> Downloading 'http://distfiles.gentoo.org/distfiles/ut2004-lnx-demo3334.run'
/home/gentoo/distfiles/ut2004-lnx-demo3334.run: Permission denied
>>> Downloading 'http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/ut2004-lnx-demo3334.run'
/home/gentoo/distfiles/ut2004-lnx-demo3334.run: Permission denied
>>> Downloading 'http://3dgamers.iinet.net.au/pub/3dgamers/games/unrealtourn2k4/ut2004-lnx-demo3334.run'
/home/gentoo/distfiles/ut2004-lnx-demo3334.run: Permission denied
>>> Downloading 'http://downloads-3dg.planetmirror.com/pub/3dgamers/games/unrealtourn2k4/ut2004-lnx-demo3334.run'
/home/gentoo/distfiles/ut2004-lnx-demo3334.run: Permission denied
!!! Couldn't download 'ut2004-lnx-demo3334.run'. Aborting.
 * Fetch failed for 'games-fps/ut2004-demo-3334'

 * Messages for package games-fps/ut2004-demo-3334:

 * Fetch failed for 'games-fps/ut2004-demo-3334'


_ALL_ emerges I've tried fails to download with the same problem.
If I downgrade to portage 2.1.2.12 then it all works without a problem.

With portage 2.1.3.9 I've tried setting the distfiles directory permissions to a+rwx but emerge automatically changes them back to the root:portage drwxrwsr-x settings.
I've tried using fetchpriv (and userpriv) in the make.conf FEATURES list but that doesn't change anything.

As I said, it all works just fine with portage 2.1.2.12

I can of course still manually download the packages and put them in the distfiles directory. But that is rather tedious.

Harebraman
Jimmy Rosen




Reproducible: Always

Steps to Reproduce:
1.upgrade to portage-2.1.3.9
2.emerge -1 ut2004-demo
3.watch the fetch fail
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-26 10:42:07 UTC

*** This bug has been marked as a duplicate of bug 187702 ***