Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9306 - emerge-webrsync changes portage tree file ownership to 1105
Summary: emerge-webrsync changes portage tree file ownership to 1105
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-18 10:48 UTC by Jeff Kowing
Modified: 2011-10-30 22:19 UTC (History)
3 users (show)

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


Attachments
patch for emerge-webrsync (emerge-webrsync-chown.patch,313 bytes, patch)
2002-10-18 19:24 UTC, Jeff Kowing
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Kowing 2002-10-18 10:48:25 UTC
app-admin/gentoolkit-0.1.17-r1

emerge-webrsync changes the user and group owners to 1105 for all files in the
/usr/portage tree.
Comment 1 Jeff Kowing 2002-10-18 19:24:59 UTC
Created attachment 4812 [details, diff]
patch for emerge-webrsync

This is a proposed no brainer patch that simply changes file ownership of the
downloaded portage tree snapshot to user and group root before rsyncing it to
the host's /usr/portage tree.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2002-12-06 07:03:18 UTC
what's so bad for temporary files and dirs if they are owned by any UID/GID ?
Comment 3 Jeff Kowing 2002-12-06 09:49:42 UTC
The only reason the patch changes the ownership of the temporary files is to
prevent the subsequent rsync from changing uid/gid of the /usr/portage/* files
to whatever the uid/gid of the person happened to be that made the latest
portage tree snapshot.

So, I guess the answer to your question is that I don't care about the ownership
of the temporary files but I do care about the ownership of the /usr/portage
files or am I misunderstanding something?  Shouldn't the /usr/portage/* files
and directories be owned by root?
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2002-12-06 13:09:42 UTC
i'll do this asap
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2002-12-06 14:00:27 UTC
in cvs.
gentoolkit-0.1.17-r5