Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13276 - emerge -pf requires root access to complete
Summary: emerge -pf requires root access to complete
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-04 20:47 UTC by ebnf
Modified: 2011-10-30 22:21 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 ebnf 2003-01-04 20:47:40 UTC
When doing an `emerge -pf` portage requires root access or it gives the
following errors:

bash-2.05b$ emerge -pf development-sources
Calculating dependencies ...done!
!!! File system problem. (ReadOnly?)
!!![Errno 13] Permission denied: '/var/tmp/portage/development-sources-2.5.54'

!!! Fetch for
/usr/portage/sys-kernel/development-sources/development-sources-2.5.54.ebuild
failed, continuing...

!!! File system problem. (ReadOnly?)
!!![Errno 13] Permission denied: '/var/tmp/portage/development-sources-2.5.54'
bash-2.05b$ su -
Password:
# emerge -pf development-sources
Calculating dependencies ...done!

http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/linux-2.5.54.tar.bz2
 http://www.kernel.org/pub/linux/kernel/v2.5/linux-2.5.54.tar.bz2 
# exit
bash-2.05b$ emerge -V
Portage 2.0.46-r4 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r3)

With `emerge -s` or `emerge -p` without the `--fetchonly` flag does not require
root access.
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-01-05 23:49:51 UTC
This requires the ability to write into /var/tmp/portage

Which is something that only root should be allowed.
Now you probably could set PORT_TMPDIR to something in your
user's homedir and that would let them do this, but I haven't
tested it.
Comment 2 ebnf 2003-01-06 09:40:47 UTC
But shouldn't --pretend cause it to not actually download the files, and hence
not require the writing of anything?
Comment 3 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:20:32 UTC
db fix
Comment 4 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:25:25 UTC
db fix