소스 검색

Permission on config file

Bob Mottram 9 년 전
부모
커밋
02973a691a
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2
    0
      src/freedombone

+ 2
- 0
src/freedombone 파일 보기

@@ -6742,6 +6742,8 @@ function install_gogs {
6742 6742
 	echo '[service]' >> $GOGS_CONFIG_FILE
6743 6743
 	echo 'DISABLE_REGISTRATION = false' >> $GOGS_CONFIG_FILE
6744 6744
 
6745
+	#cp -r /home/git/go/src/github.com/gogits/gogs/custom /home/git/gvm/pkgsets/go${GO_VERSION}/global/src/github.com/gogits/gogs
6746
+	chmod 750 $GOGS_CONFIG_FILE
6745 6747
 	chown -R git:git /home/git
6746 6748
 
6747 6749
 	systemctl restart gogs