diff --git a/setup-root.sh b/setup-root.sh index ccd9e6f..7b4b756 100644 --- a/setup-root.sh +++ b/setup-root.sh @@ -1,6 +1,5 @@ set -e -useradd pdfy cd /home/pdfy apt-get install -y authbind @@ -10,6 +9,8 @@ touch /etc/authbind/byport/80 chown pdfy /etc/authbind/byport/80 chmod 755 /etc/authbind/byport/80 +chown -R pdfy:pdfy . + su -c "./setup.sh" pdfy echo "Done!"