Hi Chris,

Thamks for the reply.

On 7 February 2021 03:57:03 GMT, Chris <portmas...@bsdforge.com> wrote:
>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}

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

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to