On Fri, Apr 01, 2016 at 01:12:10PM +0300, a...@abinet.ru 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,
Bapt

Attachment: signature.asc
Description: PGP signature

Reply via email to