From owner-cvs-ports@FreeBSD.ORG Tue Nov 30 10:55:54 2010 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50611106564A; Tue, 30 Nov 2010 10:55:54 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id E038F8FC1B; Tue, 30 Nov 2010 10:55:53 +0000 (UTC) Received: by iwn39 with SMTP id 39so6887437iwn.13 for ; Tue, 30 Nov 2010 02:55:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=RheMQuITMY/EMtr061UaYkXWI75CQ2jJ0oJD8uwDbh4=; b=EQMH4f4iOr0UZHSwoyw3vf19j/CAJ8/zd9T8CuMLcq0EeksoW/f0yGdpszCbv1AZe8 Zr6CJIAVPg9w5Fznk3iB5ghY4GRjKrJmWu+zkGdDn0UaLZ/IZcMDCAP6r2Po4hQxPG69 njAhrJJecI1F7m8fTnkJ+y+KINjrOoDcCj2lY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=Its5H5rd6NoaKL8mLl9eAV7BmCubvetezD9rZLCARplET66k0OzfQBIq0TwwDbJyMB +MzL3GWQ7Jp/jA9v2zx32606RFYWMTuyWd/TrxqvdbYvT8wzN6Rqz9bKPjcem123lfqj lbJHdjh3UAn0eBcGj5NLWPcpXPWrV1McdqXBE= MIME-Version: 1.0 Received: by 10.231.157.145 with SMTP id b17mr7104902ibx.78.1291114553049; Tue, 30 Nov 2010 02:55:53 -0800 (PST) Sender: baptiste.daroussin@gmail.com Received: by 10.231.180.164 with HTTP; Tue, 30 Nov 2010 02:55:52 -0800 (PST) In-Reply-To: <4CF3F11D.4080203@FreeBSD.org> References: <201011291147.oATBl8EK023858@repoman.freebsd.org> <4CF3F11D.4080203@FreeBSD.org> Date: Tue, 30 Nov 2010 11:55:52 +0100 X-Google-Sender-Auth: p-G3Mwm8_FypiHXK4XHoR6Jxqao Message-ID: From: Baptiste Daroussin To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Cc: cvs-ports@freebsd.org, cvs-all@freebsd.org, ports-committers@freebsd.org Subject: Re: cvs commit: ports/www/fcgiwrap Makefile ports/www/fcgiwrap/files fcgiwrap.in X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Nov 2010 10:55:54 -0000 2010/11/29 Doug Barton : > Your solution is fine, however if you supply "root" as a default value for > _user then you could simplify it down to: > > start_precmd="install -d -o $fcgiwrap_user -m 755 /var/run/fcgiwrap" > > (Or use whatever value of -m is appropriate.) > This is great but this solution make problem when fcgiwrap_user is change by the user because after stop fcgiwrap.pid is left behind with 700 value for the rights so it can't be overwritten. The solution is to rm the pidfile on stop_postcmd but I don't know if we are "allowed" to do that. Thanks. Bapt