Date: Fri, 1 Apr 2016 12:31:11 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: abi@abinet.ru Cc: freebsd-ports@freebsd.org Subject: Re: Create directory for www:www Message-ID: <20160401103110.GG1128@ivaldir.etoilebsd.net> In-Reply-To: <b3e7bff077fa645f5a7a29fc78e13ab2@abinet.ru> References: <b3e7bff077fa645f5a7a29fc78e13ab2@abinet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
--PyMzGVE0NRonI6bs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 01, 2016 at 01:12:10PM +0300, abi@abinet.ru wrote: > =20 >=20 > Hello!=20 >=20 > I'm porting ZoneMinder, it needs folder, writable under web server user. >=20 >=20 > I wrote in post-install something like this=20 >=20 > ${INSTALL} -d -g ${WWWGRP} -o ${WWWOWN} ${STAGEDIR}${WWWDIR}/images=20 >=20 > I can see right permissions in a stage directory, however, after > installation a destination folder has root:wheel owner.=20 >=20 > How can create directory in a proper way?=20 Do not set the credential in the stage a simple mkdir is enough In the plist @dir(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/images Best regards, Bapt --PyMzGVE0NRonI6bs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJW/k3uAAoJEGOJi9zxtz5aHDoQAOP8xTS17iUzp8uWHhLvWpOV udclNCiafqzceVZaup6JiaX3gMmjzWypIj0+FmWgu1UshR7l2ayLJaEAKRdwvezf 4r6Ye/QmlXqyGn+PqdOFUDtmsUUXbHJitiVA1YUbWlrcy1STOJMshc9yKKM+n5MN etEQ00Yx75H51wOuOqmTxII40M9Xb8pfKsb9+F3HNLp/c619zyzBKdVhAyj9FbrM wj9MXhsN+NzfYY5fBRQ6RUX+x8WlyWqtJDrAEGGzFl+QxDLqL7rkGJYuL55Kff3S tDppJABkqXI+uFKW0kOVcFGRhd20UBzENV0DneQ3ff1Bg94IBGN9VtN66+C42W3A tFgJ3KA6yrDQvHQ6FNCoMcBnnsNzNlTMXARPgqvIej54CXbX2o+j9nYB/vdLIL7+ 7Xhuz55JIW7VSQdCFc0xJ4LYAlbnXNKcJya8RkwtadC0PzvJVyK/bw8yzLiNDdCJ G9kX8NQS2+cQB8jZW82ibJ30CUK4H6wCaHOZ+l6teJ2CALjEpow/jpsB3VrTBBki lroBkpyGLQV2YnpN/MzJVd1fL9ucpQko7mC5WKvDL59dYPcojHqbzOgb75f3xgqM pa7KlkiBtcmL5fU7pswMRjXKvAC5FBHsMGzOW2lmr3UmFLDEXeuq+FSZ+NoQtDcI kWm3dWE2hbwpJjVUMi+b =vEQn -----END PGP SIGNATURE----- --PyMzGVE0NRonI6bs--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160401103110.GG1128>