Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489298 - [enlightenment overlay] x11-plugins/e_modules-tclock - src_unpack(): error: could not lock config file config: Permission denied
Summary: [enlightenment overlay] x11-plugins/e_modules-tclock - src_unpack(): error: c...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: enlightenment+disabled
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-24 19:04 UTC by James Dominy
Modified: 2013-11-02 16:01 UTC (History)
2 users (show)

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


Attachments
emerge --info (file_489298.txt,5.50 KB, text/plain)
2013-10-24 19:05 UTC, James Dominy
Details
Build log (file_489298.txt,1.64 KB, text/plain)
2013-10-24 19:11 UTC, James Dominy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Dominy 2013-10-24 19:04:25 UTC
x11-plugins/e_modules-tclock-9999 fails to fetch sources during emerge. It fails during the unpack phase with displaying the following:

>>> Unpacking source...
error: could not lock config file config: Permission denied
error: cannot open FETCH_HEAD: Permission denied

This is a network error, and is always reproducible. Nor is it a repository issue, I can manually git clone the source without problems.

Build log and emerge --info attache separately
Comment 1 James Dominy 2013-10-24 19:05:41 UTC
Created attachment 361824 [details]
emerge --info
Comment 2 James Dominy 2013-10-24 19:11:42 UTC
Created attachment 361826 [details]
Build log
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-10-25 16:31:14 UTC
Please check the permissions for the Portage user on your distfiles directory as well as the underlying egit-src directory.
Comment 4 James Dominy 2013-10-25 16:40:02 UTC
On the system in question

$ ls -ld /usr/portage/distfiles/
drwxrwxr-x 5 root portage 352256 Oct 25 00:17 /usr/portage/distfiles/


On another gentoo system without this problem (~x86 in case it matters)

$ ls -ld /usr/portage/distfiles/
drwxrwsr-x 5 root portage 376832 Oct 22 10:47 /usr/portage/distfiles/

I copied distfiles over from the working system to the new system using a USB drive and cp -r, because I couldn't get networking to work without installing a recent linux-firmware.

I'll try to fix the permissions and see if that sorts the problem out.
Comment 5 James Dominy 2013-10-25 16:50:50 UTC
I've just moved /usr/portage/distfiles to /usr/portage/distfiles.old and then emerged portage again with

$ emerge -1 portage

The newly created distfiles had the same permissions as distfiles.old, but emerging the e_modules-tclock worked. I'm guessing it has something to do with permissions on directories inside of distfiles.

Thanks though, this has solved my problem. If you need me to do further diagnosis, I'll keep the old distfiles.old directory for a couple of days.
Comment 6 Thomas Sachau gentoo-dev 2013-11-02 14:29:56 UTC
Seems like this was a setup issue on user side, not sure what the enlightenment team can do about it.

Anyway, for some additional details, please provide the permissions on the egit-src directory and any enlightenment related subdirectories.
Comment 7 James Dominy 2013-11-02 15:08:16 UTC
Sorry, I nuked distfile.old a couple of days ago. I'm running on an SSD and space is kinda a t a premium. For what it's worth, I had a VERY limiting umask set (007), so I suspect the scp of the original distfiles from my old machine lost the 'other' permissions.

I'm fine if this bug is closed. It was definitely something screwy on my side, and not a bug, so there's nothing to fix. thanks for the help though. I wouldn't have had a clue where to go digging in the file system to sort this out.
Comment 8 Thomas Sachau gentoo-dev 2013-11-02 16:01:48 UTC
Thanks for your reply, so i will close this bug as invalid.