Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 321268 Details for
Bug 176008
emerge-delta-webrsync stalls when run as non-root user
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Check write permission for PORTDIR and DISTDIR
Check-write-permission-bug-176008.patch (text/plain), 849 bytes, created by
Zac Medico
on 2012-08-14 03:48:34 UTC
(
hide
)
Description:
Check write permission for PORTDIR and DISTDIR
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2012-08-14 03:48:34 UTC
Size:
849 bytes
patch
obsolete
>From ff331f7d6146363f9784f5d96512692b967c2fc3 Mon Sep 17 00:00:00 2001 >From: Zac Medico <zmedico@gentoo.org> >Date: Mon, 13 Aug 2012 20:45:49 -0700 >Subject: [PATCH] Check write permission, bug #176008. > >--- > emerge-delta-webrsync | 10 ++++++++++ > 1 file changed, 10 insertions(+) > >diff --git a/emerge-delta-webrsync b/emerge-delta-webrsync >index 8078f3b..3eefb71 100755 >--- a/emerge-delta-webrsync >+++ b/emerge-delta-webrsync >@@ -27,6 +27,16 @@ PORTAGE_GPG_DIR="${f%%|*}" ; f="${f#*|}" > TMPDIR="${f%%|*}/snapshots" > unset IFS > >+if [[ ! -w ${PORTDIR} ]] ; then >+ echo "${0##*/}: PORTDIR is not writable: ${PORTDIR}" >+ exit 1 >+fi >+ >+if [[ ! -w ${DISTDIR} ]] ; then >+ echo "${0##*/}: DISTDIR is not writable: ${DISTDIR}" >+ exit 1 >+fi >+ > source /usr/lib/portage/bin/isolated-functions.sh || exit 1 > > if [ -z "$NICENESS_PULLED" ]; then >-- >1.7.9.7 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 176008
:
117261
|
321266
| 321268