correct syntax highlighting
parent
9ca4d6dd5c
commit
c70d2224a5
5
FAQ.md
5
FAQ.md
@ -232,7 +232,7 @@ The permissions need to look like this:
|
||||
|
||||
For most setups it is also possible to use the following script. Make sure to edit the users and folders where necessary.
|
||||
|
||||
```#!/bin/bash
|
||||
```sh
|
||||
pbpath='/var/www/privatebin'
|
||||
pbdata='/var/www/privatebin/data'
|
||||
htuser='www-data'
|
||||
@ -246,4 +246,5 @@ find ${pbdata}/ -type f -print0 | xargs -0 chmod 0640
|
||||
find ${pbdata}/ -type d -print0 | xargs -0 chmod 0750
|
||||
|
||||
printf "chown Directories\n"
|
||||
chown -R ${rootuser}:${htgroup} ${pbpath}/```
|
||||
chown -R ${rootuser}:${htgroup} ${pbpath}/
|
||||
```
|
Loading…
Reference in New Issue
Block a user