Create directory for www:www

Baptiste Daroussin bapt at
Fri Apr 1 10:31:15 UTC 2016

On Fri, Apr 01, 2016 at 01:12:10PM +0300, abi at wrote:
> 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? 

Do not set the credential in the stage a simple mkdir is enough

In the plist
@dir(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/images

Best regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <>

More information about the freebsd-ports mailing list