diff --git a/FAQ.md b/FAQ.md index e87b008..269a7dc 100644 --- a/FAQ.md +++ b/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}/``` \ No newline at end of file +chown -R ${rootuser}:${htgroup} ${pbpath}/ +``` \ No newline at end of file