From 72ed51566f955f003ce66147ace5dc8f01dffe47 Mon Sep 17 00:00:00 2001 From: benjamyn Date: Wed, 20 Feb 2019 22:45:53 +1100 Subject: [PATCH] chown not chmod u idiot --- intsall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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