git push failed Because the Fault of insufficient permission for adding an object
来源:互联网 发布:网路优化 编辑:程序博客网 时间:2024/06/06 02:19
Here is the fault print:
Counting objects: 3, done.Writing objects: 100% (3/3), 214 bytes | 0 bytes/s, done.Total 3 (delta 0), reused 0 (delta 0)remote: error: insufficient permission for adding an object to repository database objectsremote: fatal: failed to write objecterror: unpack failed: unpack-objects abnormal exitTo git@192.168.1.102:/home/git/test.git ! [remote rejected] master -> master (unpacker error)error: failed to push some refs to 'git@192.168.1.102:/home/git/test.git'
The reason is that the git repo doesn’t have the authority.Input the ls -alh to check the owner of the git repo(mine is test.git):
ls -alh test.git
and see that the owner and group owner is root ,change to current user git:
sudo chown -R git:git git_repo(test.git)
阅读全文
0 0
- git push failed Because the Fault of insufficient permission for adding an object
- git push, error: insufficient permission for adding an object to repository database .git/objects
- git在push的时候出现insufficient permission for adding an object错误
- git在push的时候出现insufficient permission for adding an object错误
- git push error:error: insufficient permission for adding an object to repository data
- git在push的时候出现insufficient permission for adding an object错误
- git push error:error: insufficient permission for adding an object to repository database ./obje
- git在push的时候出现insufficient permission for adding an object错误
- Git报错insufficient permission for adding an object to repository database .git/objects
- Git报错insufficient permission for adding an object to repository database .git/objects
- git pull 报错:error: insufficient permission for adding an object to repository database .git/objects
- error: insufficient permission for adding an object to repository database .git/objects
- git insufficient permission for adding an object to repository database ./objects
- insufficient permission for adding an object to repository database ./objects
- insufficient permission for adding an object to repository database
- Git错误non-fast-forward和 Git报错insufficient permission for adding an object to repository database .git
- error: insufficient permission for adding an object to repository database ./objects
- remote: error: insufficient permission for adding an object to repository database
- Implement Stack using Queues
- KHL 002 11-计算机-本职-前台 盒模型
- python基础练习题
- 我是如何理解Java抽象类和接口的
- freeswitch查看注册用户
- git push failed Because the Fault of insufficient permission for adding an object
- STM32L073 使用cube生成ADC多路采样错误解决
- Codeforces 845 A Chess Tourney
- 最长上升子序列
- struts2的入门程序
- MyBatis(2)--MyBatis标准示例(单例)
- [BZOJ2434][NOI2011]阿狸的打字机-AC自动机
- python运维first_chapter
- You Don't Know JS: Types & Grammar 总结