mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
Remove trailing / to reduce the risk of running find on /
This commit is contained in:
committed by
Morris Jobke
parent
fc8a6de37b
commit
09c2ee406c
@@ -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}/
|
||||
|
||||
Reference in New Issue
Block a user