diff --git a/FAQ.md b/FAQ.md index f43d9cd..ad7198f 100644 --- a/FAQ.md +++ b/FAQ.md @@ -241,10 +241,10 @@ htgroup='www-data' rootuser='root' echo "[chmod] files and directories" -find ${pbpath}/ -type f -print0 | xargs -0 chmod 0640 -find ${pbpath}/ -type d -print0 | xargs -0 chmod 0550 -find ${pbdata}/ -type f -print0 | xargs -0 chmod 0640 -find ${pbdata}/ -type d -print0 | xargs -0 chmod 0750 +find "${pbpath}/" -type f -print0 | xargs -0 chmod 0640 +find "${pbpath}/" -type d -print0 | xargs -0 chmod 0550 +find "${pbdata}/" -type f -print0 | xargs -0 chmod 0640 +find "${pbdata}/" -type d -print0 | xargs -0 chmod 0750 echo "[chown] Directories" chown -R ${rootuser}:${htgroup} "${pbpath}/"