Updated FAQ (markdown)

rugk 2017-11-25 19:16:59 +01:00
parent cb042167fd
commit d7b0c1bb55

8
FAQ.md

@ -241,10 +241,10 @@ htgroup='www-data'
rootuser='root' rootuser='root'
echo "[chmod] files and directories" echo "[chmod] files and directories"
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] Directories"
chown -R ${rootuser}:${htgroup} "${pbpath}/" chown -R ${rootuser}:${htgroup} "${pbpath}/"