diff --git a/FAQ.md b/FAQ.md index 6971c03..751bdd8 100644 --- a/FAQ.md +++ b/FAQ.md @@ -266,13 +266,13 @@ rootuser='root' mkdir -p "$pbdata" -echo "[chmod] files and directories" +echo "chmod" 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" +echo "chown" chown -R ${rootuser}:${htgroup} "${pbpath}/" chown -R ${pbuser}:${rootuser} "${pbdata}/" ``` \ No newline at end of file