Remove trailing / to reduce the risk of running find on /

This commit is contained in:
Thomas Wouters
2016-06-21 14:32:19 +02:00
committed by Morris Jobke
parent fc8a6de37b
commit 09c2ee406c

View File

@@ -157,8 +157,8 @@ replace the ``htuser`` and ``htgroup`` variables with your HTTP user and group::
mkdir -p $ocpath/updater
printf "chmod Files and Directories\n"
find ${ocpath}/ -type f -print0 | xargs -0 chmod 0640
find ${ocpath}/ -type d -print0 | xargs -0 chmod 0750
find ${ocpath} -type f -print0 | xargs -0 chmod 0640
find ${ocpath} -type d -print0 | xargs -0 chmod 0750
printf "chown Directories\n"
chown -R ${rootuser}:${htgroup} ${ocpath}/