From 05b80dfafd57dd32cb71fd22099bca833c01ea6f Mon Sep 17 00:00:00 2001 From: J Date: Fri, 14 Aug 2015 18:34:41 -0400 Subject: [PATCH] Readded chown before trying to pull everything. --- gogs_root.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/gogs_root.sh b/gogs_root.sh index 1b44920..6399886 100755 --- a/gogs_root.sh +++ b/gogs_root.sh @@ -40,6 +40,7 @@ if (! -d /home ) then /bin/ln -s /usr/home /home endif pw add user -n git -u 913 -d $GITHOME -s /bin/tcsh -c "Gogs - Go Git Service" +chown -R git:git $GITHOME su - git -c "/usr/bin/ssh-keygen -b 2048 -N '' -f ~/.ssh/id_rsa -t rsa -q &" # 6) Get & compile gogs echo "Fetching gogs from Github"