diff --git a/plugins/gitea/install.sh b/plugins/gitea/install.sh index 607fdf68c..d9dbd926d 100755 --- a/plugins/gitea/install.sh +++ b/plugins/gitea/install.sh @@ -68,8 +68,11 @@ Install_App() mkdir -p $serverPath/gitea mv $serverPath/source/gitea/$file $serverPath/gitea/gitea chmod +x $serverPath/gitea/gitea + + chown -R git:git $serverPath/gitea fi + if [ -d $serverPath/gitea ];then echo $version > $serverPath/gitea/version.pl