Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168642 - g-cpan need generate ebuild under portage owner user
Summary: g-cpan need generate ebuild under portage owner user
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2007-02-27 22:04 UTC by Sergiy Borodych
Modified: 2007-03-04 09:25 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
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.

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