Date: Sat, 06 Feb 2021 19:57:03 -0800 From: Chris <portmaster@bsdforge.com> To: Chris Rees <crees@freebsd.org> Cc: ports@freebsd.org Subject: Re: Handling directory ownership in pkg-plist Message-ID: <623897a8b8aaf941d59f39f2f32e4326@bsdforge.com> In-Reply-To: <c6b5e1c6-f925-6df0-862e-76ea83fd80cb@rees.space> References: <c6b5e1c6-f925-6df0-862e-76ea83fd80cb@rees.space>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2021-02-06 13:34, Chris Rees wrote: > Hi all, > > Resurrecting audio/ampache-resurrect, and I have @owner www/@group www above > all > of the WWWDIR files, and they are correctly owned. However, the directories > under > it are all still owned by root:wheel, and if I explicitly add them all with > @dir > pkg then complains about not being able to find them. > > Would it be unacceptable to just have @exec chown -R www:www %D/%%WWWDIR%% > at the bottom? Yes. By way of pre-install: You'll probably get a complaint unless you use: ${CHOWN} > > Chris --Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?623897a8b8aaf941d59f39f2f32e4326>