summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-03-11 20:48:17 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-03-11 20:48:17 +0000
commit088f4b7fddd8cfabb112019b8ec2cc11a04cff7e (patch)
tree7e9cc0dc9f63c5ba485e34196912bc02c0b7daf2 /sci-misc/boinc
parentAdd the SSH testsuite, because I think the latest HPN patch has a breakage th... (diff)
downloadgentoo-2-088f4b7fddd8cfabb112019b8ec2cc11a04cff7e.tar.gz
gentoo-2-088f4b7fddd8cfabb112019b8ec2cc11a04cff7e.tar.bz2
gentoo-2-088f4b7fddd8cfabb112019b8ec2cc11a04cff7e.zip
Fix directory rights for workdir when attaching to a project. Per bug #259410.
(Portage version: 2.2_rc24/cvs/Linux x86_64)
Diffstat (limited to 'sci-misc/boinc')
-rw-r--r--sci-misc/boinc/ChangeLog6
-rw-r--r--sci-misc/boinc/files/boinc.init2
2 files changed, 6 insertions, 2 deletions
diff --git a/sci-misc/boinc/ChangeLog b/sci-misc/boinc/ChangeLog
index 9eed6a3bcf91..9ae45555ea87 100644
--- a/sci-misc/boinc/ChangeLog
+++ b/sci-misc/boinc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-misc/boinc
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v 1.55 2009/02/18 11:38:28 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v 1.56 2009/03/11 20:48:17 scarabeus Exp $
+
+ 11 Mar 2009; Tomas Chvatal <scarabeus@gentoo.org> files/boinc.init:
+ Fix directory rights for workdir when attaching to a project. Per bug
+ #259410.
18 Feb 2009; Tomas Chvatal <scarabeus@gentoo.org> boinc-6.4.5-r1.ebuild:
Fix wrong functions usage. Per bug #248769. Thanks to Martin von Gagern
diff --git a/sci-misc/boinc/files/boinc.init b/sci-misc/boinc/files/boinc.init
index 87ac1cdc31df..5897b50c8c40 100644
--- a/sci-misc/boinc/files/boinc.init
+++ b/sci-misc/boinc/files/boinc.init
@@ -105,7 +105,7 @@ attach() {
# we have to work in runtime directory
cd $RUNTIMEDIR
# boinc does not return 1 when it fails currently
- $BOINCBIN --attach_project $url $key &> /dev/null
+ $BOINCBIN --chuid ${USER}:${GROUP} --attach_project $url $key &> /dev/null
eend $?
sleep 10