diff --git a/intsall.sh b/intsall.sh index 0fbd702..d90131a 100644 --- a/intsall.sh +++ b/intsall.sh @@ -36,7 +36,7 @@ echo "Installing the service" cp blank.service /etc/systemd/system/paste.service echo "Setting permissions on the files" -chmod -Rv $USERNAME:$NGINXGROUP $CURRENTDIR +chown -R $USERNAME:$NGINXGROUP $CURRENTDIR echo "Installing nginx config to /etc/nginx/conf.d" cp paste.conf /etc/nginx/conf.d/paste.conf