From bbf98ae3a7d83284efd0e68b08f39a6cb550c449 Mon Sep 17 00:00:00 2001 From: Thomas Wouters Date: Tue, 21 Jun 2016 14:32:19 +0200 Subject: [PATCH] Remove trailing / to reduce the risk of running find on / --- admin_manual/installation/installation_wizard.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin_manual/installation/installation_wizard.rst b/admin_manual/installation/installation_wizard.rst index 3c0626a3a..b86822c5f 100644 --- a/admin_manual/installation/installation_wizard.rst +++ b/admin_manual/installation/installation_wizard.rst @@ -157,11 +157,11 @@ replace the ``htuser`` and ``htgroup`` variables with your HTTP user and group:: mkdir -p $ncpath/updater printf "chmod Files and Directories\n" - find ${ncpath}/ -type f -print0 | xargs -0 chmod 0640 - find ${ncpath}/ -type d -print0 | xargs -0 chmod 0750 + find ${ncpath} -type f -print0 | xargs -0 chmod 0640 + find ${ncpath} -type d -print0 | xargs -0 chmod 0750 printf "chown Directories\n" - chown -R ${rootuser}:${htgroup} ${ncpath}/ + chown -R ${rootuser}:${htgroup} ${ncpath} chown -R ${htuser}:${htgroup} ${ncpath}/apps/ chown -R ${htuser}:${htgroup} ${ncpath}/assets/ chown -R ${htuser}:${htgroup} ${ncpath}/config/