Create directory for www:www

Miroslav Lachman 000.fbsd at quip.cz
Fri Apr 1 10:30:44 UTC 2016


abi at 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


More information about the freebsd-ports mailing list