Updated FAQ (markdown)
parent
30c4b868c6
commit
6b75dcfd34
4
FAQ.md
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}/"
|
||||||
```
|
```
|
Loading…
Reference in New Issue
Block a user