gogs: hooks/update: Permission denied
我使用管理员账户A,创建了一个项目,并推送了几次数据。 之后我又创建了新组织1,将项目管理权移交至组织1, 现在我使用账户A无法推送数据至仓库(本地库推送地址已经修改为新的组织地址)。 我使用Docker hub上的gogs/gogs,版本: 0.6.16.1023 Beta
推送错误日志如下:
remote: hooks/update: line 2: /root/gogs/gogs: Permission denied
remote: error: hook declined to update refs/heads/master
To http://xxxxx.git
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'http://xxx.git'
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 17 (9 by maintainers)
When Gogs binary path is changes, you need to run following two things in admin dashboard: