Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69042 - gensync has no permission check
Summary: gensync has no permission check
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2004-10-26 10:12 UTC by Emil Beinroth
Modified: 2007-01-11 04:46 UTC (History)
1 user (show)

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


Attachments
adds permissioncheck (gensync_permcheck.patch,1.26 KB, patch)
2004-10-26 10:26 UTC, Emil Beinroth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Emil Beinroth 2004-10-26 10:12:58 UTC
Everyone can call gensync for overlays where he has no write-permissions. gensync calls and rsync and you see pages of warnings running down your terminal.
gensync should check the permissions first and exit if the caller has no writepermissions.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Emil Beinroth 2004-10-26 10:26:34 UTC
Created attachment 42643 [details, diff]
adds permissioncheck

This patch adds a permissioncheck for the overlay. Also the 'bug'
http://bugs.gentoo.org/show_bug.cgi?id=68588 is fixed. It's for gensync from
app-portage/gentoolkit-dev-0.2.0_pre4.
Comment 2 Paul Varner (RETIRED) gentoo-dev 2007-01-11 04:46:58 UTC
gensync has been deprecated in gentoolkit-dev-0.2.6.2 and will be completely removed in the next version.