加载中...

git填坑笔记

Counting objects: 3, done.
Writing objects: 100% (3/3), 203 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: error: insufficient permission for adding an object to repository database ./objects
remote: fatal: failed to write object
error: unpack failed: unpack-objects abnormal exit
To 121.42.140.121:prs.git
! [remote rejected] master -> master (unpacker error)
error: failed to push some refs to 'git@121.42.140.121:prs.git'

这是因为权限问题,是不是用root账户创建的仓库,然后没有把仓库权限分给git用户

git库权限的问题
$ ls -la,查看git库的所有者


 

posted @ 2017-05-11 01:27  水车  阅读(618)  评论(0编辑  收藏  举报