From nobody@FreeBSD.org  Mon Jun  4 14:55:32 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 52D8E16A400
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  4 Jun 2007 14:55:32 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 43EEF13C4B0
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  4 Jun 2007 14:55:32 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l54EtWCv078591
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 4 Jun 2007 14:55:32 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l54EtWNL078589;
	Mon, 4 Jun 2007 14:55:32 GMT
	(envelope-from nobody)
Message-Id: <200706041455.l54EtWNL078589@www.freebsd.org>
Date: Mon, 4 Jun 2007 14:55:32 GMT
From: James Snyder<jbsnyder@fanplastic.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: biology/linux-foldingathome needs to run as root?
X-Send-Pr-Version: www-3.0

>Number:         113335
>Category:       ports
>Synopsis:       biology/linux-foldingathome needs to run as root?
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 04 15:00:12 GMT 2007
>Closed-Date:    Sun Sep 23 05:45:49 GMT 2007
>Last-Modified:  Sun Sep 23 05:50:09 GMT 2007
>Originator:     James Snyder
>Release:        RELENG 6
>Organization:
>Environment:
FreeBSD Hippo 6.2-STABLE FreeBSD 6.2-STABLE #3: Mon May 28 17:54:13 CDT 2007     jsnyder@Hippo:/usr/obj/usr/src/sys/SMP_amd  i386
>Description:
Upon installing FoldingAtHome I ran the software from a user account only to find that I was stuck in a loop of trying to enter configuration options.  Shortly thereafter I realized that it was trying to write to /usr/local/share/foldingathome, and therefore requires being run as root to write there unless one changes permissions there.  Seing as this isn't installed with a startup script for daemonization, and running as root seems a little excessive for this application, should this be adapted to run from a user account or set up to be able to start at boot?

I'd be willing to throw a patch out, but I'm not sure which would be the best direction here to be consistent with FreeBSD :-)
>How-To-Repeat:
Install, run as user.
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Mon Jun 4 15:00:20 UTC 2007 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113335 

From: "Jonatan B" <onatan@gmail.com>
To: bug-followup@freebsd.org
Cc: "James Snyder" <jbsnyder@fanplastic.org>, 
	"Edwin Groothuis" <edwin@freebsd.org>
Subject: Re: ports/113335: biology/linux-foldingathome needs to run as root?
Date: Wed, 6 Jun 2007 14:17:54 +0300

 > should this be adapted to run from a user account or set up to be able to start at boot?
 
 We can't change the binary, so we can't have it run as
 normal user. I'll have a start-at-boot script when I'll
 update the port to 5.04.

From: "Larry Rosenman" <ler@lerctr.org>
To: "'Jonatan B'" <onatan@gmail.com>
Cc: <bug-followup@FreeBSD.org>
Subject: RE: ports/113335: biology/linux-foldingathome needs to run as root?
Date: Wed, 6 Jun 2007 08:25:57 -0500

 I have the binary running as a normal user (multiple times, even) on both
 RELENG_6 and -CURRENT.
 
 I also have a startup script I wrote if that would help.
 
 (Mine is running in subdirectories of  my home directory).
 
 LER
 
 
 -- 
 Larry Rosenman                     http://www.lerctr.org/~ler
 Phone: +1 512-248-2683                E-Mail: ler@lerctr.org
 US Mail: 430 Valona Loop, Round Rock, TX 78681-3893
 
 
 

From: "Jonatan B" <onatan@gmail.com>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/113335: biology/linux-foldingathome needs to run as root?
Date: Wed, 6 Jun 2007 17:14:22 +0300

 ------=_Part_38697_15161808.1181139262091
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 On 6/6/07, Larry Rosenman <ler@lerctr.org> wrote:
 > On Wed, 6 Jun 2007, Jonatan B wrote:
 >
 > > Cool. I'd like the script, thanks.
 > > How did you get it to run as a normal user?
 > I just have the script do the su and cd magic.
 
 This diff updates the port to version 5.04, and adds
 support to running as normal user using ~/.fah
 directory.
 
 Commiter, please commit this update.
 
 ------=_Part_38697_15161808.1181139262091
 Content-Type: text/x-patch; name=foldingathome-504.diff; 
 	charset=ANSI_X3.4-1968
 Content-Transfer-Encoding: base64
 X-Attachment-Id: f_f2lvin2q
 Content-Disposition: attachment; filename="foldingathome-504.diff"
 
 ZGlmZiAtdXJOIGxpbnV4LWZvbGRpbmdhdGhvbWUub3JpZy9NYWtlZmlsZSBsaW51eC1mb2xkaW5n
 YXRob21lL01ha2VmaWxlCi0tLSBsaW51eC1mb2xkaW5nYXRob21lLm9yaWcvTWFrZWZpbGUJVHVl
 IEF1ZyAyOSAwMTozMzo0NSAyMDA2CisrKyBsaW51eC1mb2xkaW5nYXRob21lL01ha2VmaWxlCVdl
 ZCBKdW4gIDYgMTc6MDE6MjEgMjAwNwpAQCAtNiw3ICs2LDcgQEAKICMKIAogUE9SVE5BTUU9CWZv
 bGRpbmdhdGhvbWUKLVBPUlRWRVJTSU9OPQk1LjAyCitQT1JUVkVSU0lPTj0JNS4wNAogQ0FURUdP
 UklFUz0JYmlvbG9neQogTUFTVEVSX1NJVEVTPQlodHRwOi8vd3d3LnN0YW5mb3JkLmVkdS9ncm91
 cC9wYW5kZWdyb3VwL3JlbGVhc2UvCiBQS0dOQU1FUFJFRklYPQlsaW51eC0KZGlmZiAtdXJOIGxp
 bnV4LWZvbGRpbmdhdGhvbWUub3JpZy9kaXN0aW5mbyB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W4gIDYgMTc6MDE6MTAgMjAwNwpAQCAtMSw1ICsxLDcgQEAKICMhL2Jpbi9zaAorRkFIRElSPX4v
 LmZhaAogQ1VSRElSPWBwd2RgCi1jZCBEQVRBRElSCi1uaWNlIC1uIDIwIC4vQklOTkFNRSAtZnJl
 ZUJTRAorbWtkaXIgJEZBSERJUgorY2QgJEZBSERJUgorbmljZSAtbiAyMCAvREFUQURJUi9CSU5O
 QU1FIC1mcmVlQlNECiBjZCAkQ1VSRElSCg==
 ------=_Part_38697_15161808.1181139262091--
State-Changed-From-To: feedback->closed 
State-Changed-By: edwin 
State-Changed-When: Sun Sep 23 05:45:41 UTC 2007 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113335 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/113335: commit references a PR
Date: Sun, 23 Sep 2007 05:45:47 +0000 (UTC)

 edwin       2007-09-23 05:45:41 UTC
 
   FreeBSD ports repository
 
   Modified files:
     biology/linux-foldingathome Makefile distinfo 
     biology/linux-foldingathome/scripts FoldingAtHome 
   Log:
   biology/linux-foldingathome needs to run as root?
   (also: update to 5.0.4)
   
           Upon installing FoldingAtHome I ran the software from a
           user account only to find that I was stuck in a loop of
           trying to enter configuration options. Shortly thereafter
           I realized that it was trying to write to
           /usr/local/share/foldingathome, and therefore requires being
           run as root to write there unless one changes permissions
           there. Seing as this isn't installed with a startup script
           for daemonization, and running as root seems a little
           excessive for this application, should this be adapted to
           run from a user account or set up to be able to start at
           boot?
   
   And from maintainer:
   
           This diff updates the port to version 5.04, and adds
           support to running as normal user using ~/.fah
           directory.
   
   PR:             ports/113335
   Submitted by:   James Snyder <jbsnyder@fanplastic.org>
   Approved by:    maintainer
   
   Revision  Changes    Path
   1.2       +1 -1      ports/biology/linux-foldingathome/Makefile
   1.2       +3 -3      ports/biology/linux-foldingathome/distinfo
   1.2       +4 -2      ports/biology/linux-foldingathome/scripts/FoldingAtHome
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
