From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DMARC_MISSING,FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=4.0.0 Received: from mf2.bredband.net (mf2.lab.bredband.com [195.54.122.120]) by chiba.3jane.net (Postfix) with ESMTP id 5DB01200A98A for ; Wed, 6 Feb 2002 12:44:53 -0600 (CST) Received: from there ([213.112.41.50]) by mf2.bredband.net with SMTP id <20020206184247.XYWO7789.mf2@there> for ; Wed, 6 Feb 2002 19:42:47 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Per Wigren To: gentoo-dev@gentoo.org Date: Wed, 6 Feb 2002 19:43:28 +0100 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020206184247.XYWO7789.mf2@there> Subject: [gentoo-dev] Freenet questions... Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: 4df004ad-4439-4b36-a5ba-d237296eb266 X-Archives-Hash: f7108acb444271954c94dd1afb37c33b Hi! I have a working .ebuild of Freenet now that I'm very satisfied with (and I hope+think you will also be)! The problem is that it is pretty insecure (runs as root).. I'd prefer it to run as user "freenet" instead of root... I can't run it as "nobody" because then the store-file and logs have to be writable by "nobody" which is no good... How can I make the .ebuild add the user "freenet"? Any better ideas? Or should I let it be run as root? What is a good default size of the datastore? Right now I put it in /var/freenet and set the default size to 1/3rd of the *available* space on /var, up to 1GB, using some df/awk/bash-magic.. :) (To change it, just change the storeSize= parameter in /etc/freenet.conf) Regards Per Wigren