Updated FAQ (markdown)

rugk 2018-06-21 12:45:42 +02:00
parent 30c4b868c6
commit 6b75dcfd34

4
FAQ.md

@ -266,13 +266,13 @@ rootuser='root'
mkdir -p "$pbdata" mkdir -p "$pbdata"
echo "[chmod] files and directories" echo "chmod"
find "${pbpath}/" -type f -print0 | xargs -0 chmod 0640 find "${pbpath}/" -type f -print0 | xargs -0 chmod 0640
find "${pbpath}/" -type d -print0 | xargs -0 chmod 0550 find "${pbpath}/" -type d -print0 | xargs -0 chmod 0550
find "${pbdata}/" -type f -print0 | xargs -0 chmod 0640 find "${pbdata}/" -type f -print0 | xargs -0 chmod 0640
find "${pbdata}/" -type d -print0 | xargs -0 chmod 0750 find "${pbdata}/" -type d -print0 | xargs -0 chmod 0750
echo "[chown] Directories" echo "chown"
chown -R ${rootuser}:${htgroup} "${pbpath}/" chown -R ${rootuser}:${htgroup} "${pbpath}/"
chown -R ${pbuser}:${rootuser} "${pbdata}/" chown -R ${pbuser}:${rootuser} "${pbdata}/"
``` ```