Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 168642

Summary: g-cpan need generate ebuild under portage owner user
Product: Gentoo Linux Reporter: Sergiy Borodych <Sergiy.Borodych>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED INVALID    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sergiy Borodych 2007-02-27 22:04:34 UTC
Now g-cpan generate ebuild with root owner
But I think it must set portage user owner
or not ?
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-27 22:34:29 UTC
Uhm, why? Your /usr/portage ebuilds are owned by portage user? I guess not.

Comment 2 Sergiy Borodych 2007-03-03 14:24:44 UTC
about temp ebuilds

bor@homeland ~ $ g-cpan -p -u
 * No WRITE permissions in /var/tmp/g-cpan/.cpan/sources!!
 * Please run g-cpan as a user with sufficient permissions
 * or correct permissions in /var/tmp/g-cpan

user in portage group

# ls -ld /var/tmp/g-cpan/
drwxr-xr-x 3 root root 120 Feb 27 23:35 /var/tmp/g-cpan/

I can fix it by self
but I think it must make by g-cpan
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-03-03 21:09:25 UTC
Maybe just read the message that's shown on g-cpan install.

<snip>
 * You may wish to adjust the permissions on /var/tmp/g-cpan
 * if you have users besides root expecting to use g-cpan.
</snip>
Comment 4 Sergiy Borodych 2007-03-04 09:25:06 UTC
oops
I so inattentive
thanks for patience and explanation