From d224ec18defbced349355fe2acaf20f96ea4c72d Mon Sep 17 00:00:00 2001 From: Rafi59 Date: Mon, 19 Jun 2017 20:49:09 +0200 Subject: [PATCH] [fix] create uploads folder and permissions --- scripts/install | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/install b/scripts/install index 109d3ac..ebf14ee 100644 --- a/scripts/install +++ b/scripts/install @@ -108,6 +108,10 @@ else fi sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/"$app".conf +# Create uploads folder and permissions +sudo mkdir /opt/gogs/data +sudo chown -R /opt/gogs/data + # Unprotect root from SSO if public if [ "$is_public" = "Yes" ] then