From owner-freebsd-ports@freebsd.org Sun Feb 7 10:18:52 2021 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 444C34FFCDD for ; Sun, 7 Feb 2021 10:18:52 +0000 (UTC) (envelope-from crees@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DYQ9S1GDMz4SRL for ; Sun, 7 Feb 2021 10:18:52 +0000 (UTC) (envelope-from crees@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 299BE4FFCDC; Sun, 7 Feb 2021 10:18:52 +0000 (UTC) Delivered-To: ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 296104FFE2A for ; Sun, 7 Feb 2021 10:18:52 +0000 (UTC) (envelope-from crees@freebsd.org) Received: from mail268c50.megamailservers.eu (mail1426c50.megamailservers.eu [91.136.14.26]) (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 4DYQ9R6YR3z4STm for ; Sun, 7 Feb 2021 10:18:51 +0000 (UTC) (envelope-from crees@freebsd.org) X-Authenticated-User: crees@uwclub.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1612693115; bh=EWb3NXC/zyZEGMlEoDUDshFzvT7cUc1CRJaGjkMV9YI=; h=Date:In-Reply-To:References:Subject:To:CC:From:From; b=AtYrtwyutgn6HBpkkgBmBGCg/MvMuaVKL2/ZjQ6ngdCBE3Vyyd/wNqgvjj4LUPrss o9IaJKgZE2eDiru1M/Vl2YMFwd33QlQhOQbozmTmbF1mKSATmJkLRt0vG5mFPsQrUW uwfenCB77NkAYqe9qQrWoqqp6/WNe9O0NpU4hEts= Feedback-ID: crees@freebsd.o Received: from pegasus.bayofrum.net (81-178-234-194.dsl.pipex.com [81.178.234.194]) (authenticated bits=0) by mail268c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 117AIW6g000719; Sun, 7 Feb 2021 10:18:34 +0000 Received: from [192.168.1.120] (unknown [192.168.1.120]) by pegasus.bayofrum.net (Postfix) with ESMTPSA id 97D7A2212E; Sun, 7 Feb 2021 10:18:29 +0000 (GMT) Date: Sun, 07 Feb 2021 10:18:28 +0000 User-Agent: K-9 Mail for Android In-Reply-To: <623897a8b8aaf941d59f39f2f32e4326@bsdforge.com> References: <623897a8b8aaf941d59f39f2f32e4326@bsdforge.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: Handling directory ownership in pkg-plist To: Chris CC: ports@freebsd.org From: Chris Rees Message-ID: <967F2C8E-AD27-4003-A5B7-6B39D1911572@FreeBSD.org> X-bayofrum-MailScanner-Information: Please contact the ISP for more information X-bayofrum-MailScanner-ID: 97D7A2212E.A855E X-bayofrum-MailScanner: Found to be clean X-bayofrum-MailScanner-From: crees@freebsd.org X-Spam-Status: No X-CTCH-RefID: str=0001.0A742F26.601FBE7A.001F, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=J+PUEzvS c=1 sm=1 tr=0 a=+cwsEZMDFMG4P+VPZXGNng==:117 a=+cwsEZMDFMG4P+VPZXGNng==:17 a=IkcTkHD0fZMA:10 a=qa6Q16uM49sA:10 a=MbzN_Ju4AAAA:8 a=7cyCI0ON9tTAlbEFJvwA:9 a=QEXdDO2ut3YA:10 a=xj_7Mm1b534A:10 a=oLe_o8IZZ9kOc1oFlvOR:22 X-Origin-Country: GB X-Rspamd-Queue-Id: 4DYQ9R6YR3z4STm X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2021 10:18:52 -0000 Hi Chris, Thamks for the reply. On 7 February 2021 03:57:03 GMT, Chris wrote: >On 2021-02-06 13:34, Chris Rees wrote: >> Hi all, >>=20 >> Resurrecting audio/ampache-resurrect, and I have @owner www/@group >www above=20 >> all >> of the WWWDIR files, and they are correctly owned. However, the >directories=20 >> under >> it are all still owned by root:wheel, and if I explicitly add them >all with=20 >> @dir >> pkg then complains about not being able to find them. >>=20 >> Would it be unacceptable to just have @exec chown -R www:www >%D/%%WWWDIR%%=20 >> at the bottom? >Yes. By way of pre-install: >You'll probably get a complaint unless you use: ${CHOWN} Perhaps I was unclear- I'm referring to pkg-plist, so there is no ${CHOWN} = there. The exact proposed line is @postexec chown -R www:www %D/%%WWWDIR%% I was wondering what the 'proper' way to do this was. Chris --=20 This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.