From owner-freebsd-ports@FreeBSD.ORG Mon Jul 30 22:14:02 2012 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 96C59106566B; Mon, 30 Jul 2012 22:14:02 +0000 (UTC) (envelope-from david.wahlund@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 535458FC08; Mon, 30 Jul 2012 22:14:02 +0000 (UTC) Received: by obbun3 with SMTP id un3so12351730obb.13 for ; Mon, 30 Jul 2012 15:14:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=8LLAxgzjyQBfVi638fP7voj8oLgU1dTOr7yGNKc6Fas=; b=VVq+rzDCN3mIZXyjKUsFffV1Z6khuvPKdcKhUZA7Yi6sagf8z0jyyHGgU+FoorptNE 6nmR3yEXbJAPN5C3PM+NiZGhQTGs4O44RKXOmFDh2emUNgeDX4GJIZ1qXuyjdq7YvEsX zciNdQvyN/z2JDl/ayv2eFp78CedqEJZAQO1Iz4B9lzj/424mabPPZGvXopKU7uzOvxY SGvaeSVkrZUohrMOWEPHtCmu5oisiRV5x+hNFFFEZJarfkTl9HuEwFPFcv0VvtNdaZuT 93H255duD9h6y69v1mGr74DIxAxXjjjyUGMZUzwF5VwgEbjcKFozpTxSabQOApkUKOqD dxlw== MIME-Version: 1.0 Received: by 10.182.53.103 with SMTP id a7mr19911182obp.3.1343686441744; Mon, 30 Jul 2012 15:14:01 -0700 (PDT) Received: by 10.182.51.103 with HTTP; Mon, 30 Jul 2012 15:14:01 -0700 (PDT) Date: Tue, 31 Jul 2012 00:14:01 +0200 Message-ID: From: David Wahlund To: lth@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: ports@FreeBSD.org Subject: FreeBSD Port: ifgraph-0.4.10_4 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2012 22:14:02 -0000 Hi Using ifgraph-0.4.10_4 I noticed unexpected behaviour with the user rights of the files created. The cron job is run as user ifgraph but the rrds are owned by root:ifgraph with mod 644 so the group ifgraph can't write to them. Changing mod to 664 fixes this. Also the images and html files have unexpected ownership. The images are owned by root:ifgraph but the html are ifgraph:ifgraph. Also here the ifgraph group doesn't have write privileges to the files. I've tested the script as root before handing them over to cron. Could that be the cause? Shouldn't the script create rrds and images as ifgraph anyhow? Regards David