Date: Fri, 01 Apr 2016 13:12:10 +0300 From: abi@abinet.ru To: freebsd-ports@freebsd.org Subject: Create directory for www:www Message-ID: <b3e7bff077fa645f5a7a29fc78e13ab2@abinet.ru>
next in thread | raw e-mail | index | archive | help
Hello! I'm porting ZoneMinder, it needs folder, writable under web server user. I wrote in post-install something like this ${INSTALL} -d -g ${WWWGRP} -o ${WWWOWN} ${STAGEDIR}${WWWDIR}/images I can see right permissions in a stage directory, however, after installation a destination folder has root:wheel owner. How can create directory in a proper way? From owner-freebsd-ports@freebsd.org Fri Apr 1 10:30:44 2016 Return-Path: <owner-freebsd-ports@freebsd.org> Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 471ABAEBE0B for <freebsd-ports@mailman.ysv.freebsd.org>; Fri, 1 Apr 2016 10:30:44 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0FCD1134F for <freebsd-ports@freebsd.org>; Fri, 1 Apr 2016 10:30:43 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id ADE7628459; Fri, 1 Apr 2016 12:30:40 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 8C44028429; Fri, 1 Apr 2016 12:30:39 +0200 (CEST) Message-ID: <56FE4DCF.4060301@quip.cz> Date: Fri, 01 Apr 2016 12:30:39 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32 MIME-Version: 1.0 To: abi@abinet.ru, freebsd-ports@freebsd.org Subject: Re: Create directory for www:www References: <b3e7bff077fa645f5a7a29fc78e13ab2@abinet.ru> In-Reply-To: <b3e7bff077fa645f5a7a29fc78e13ab2@abinet.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-ports>, <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports/> List-Post: <mailto:freebsd-ports@freebsd.org> List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-ports>, <mailto:freebsd-ports-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 01 Apr 2016 10:30:44 -0000 abi@abinet.ru wrote on 04/01/2016 12:12: > > > Hello! > > I'm porting ZoneMinder, it needs folder, writable under web server user. > > > I wrote in post-install something like this > > ${INSTALL} -d -g ${WWWGRP} -o ${WWWOWN} ${STAGEDIR}${WWWDIR}/images > > I can see right permissions in a stage directory, however, after > installation a destination folder has root:wheel owner. > > How can create directory in a proper way? I am not experienced porter, but what about @owner and @group entries in plist? https://www.freebsd.org/doc/en/books/porters-handbook/install.html https://www.freebsd.org/doc/en/books/porters-handbook/plist-keywords.html Miroslav Lachman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b3e7bff077fa645f5a7a29fc78e13ab2>