remote: Enumerating objects: 11, done.
remote: Counting objects: 100% (11/11), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 11 (delta 0), reused 0 (delta 0), pack-reused 0
error: insufficient permission for adding an object to repository database /home/phpstory/data/XXX/.git/modules/zentao/objects
fatal: failed to write object
fatal: unpack-objects failed
原因是没有权限,所属用户组是root,改为当前用户就可以了
sudo chown -R yourName:yourGroup /home/phpstory/data/XXX/.git/modules/zentao/objects
详情参考:https://blog.csdn.net/u010263423/article/details/117418608