git无法push成功的解决办法
2016-11-08 本文已影响276人
onefiter

error :insufficient permission for adding an object to repository dabase ./objects
意思就是没有对objects 目录写的权限,但是看看了是由"写"权限的

这样就比较尴尬了,找了N中解决办法,最后只是更换了仓库的属组,再改过来,竟然提交成功了。
注:更改属组的命令是这样的
//更改属组
chgrp -R onefiter objects/
//再次改回来
chgrp -R git objects/