Fixed group ownership on www/tmp dir

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2020-03-04 22:53:11 +01:00
parent d687fa16ab
commit b3f37f2964

View File

@ -419,7 +419,7 @@ SOCKHELPER
webui_install() { webui_install() {
chmod 770 "${DOCROOT}/tmp" "${DOCROOT}/images" chmod 770 "${DOCROOT}/tmp" "${DOCROOT}/images"
chown "$PILERUSER" "${DOCROOT}/tmp" chown "${PILERUSER}:${WWWGROUP}" "${DOCROOT}/tmp"
envsubst < "${SCRIPT_DIR}/config-site.php.in" | sed s%config%\$config%g > "$CONFIG_SITE_PHP" envsubst < "${SCRIPT_DIR}/config-site.php.in" | sed s%config%\$config%g > "$CONFIG_SITE_PHP"