mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Remove trailing / to reduce the risk of running find on /
This commit is contained in:
parent
cd6ecf309d
commit
bbf98ae3a7
@ -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/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user