"git pull origin develop"할 때마다 "insufficient permission for adding an object to repository database .git / objects"가 있습니다.
remote: Counting objects: 70, done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 42 (delta 35), reused 42 (delta 35)
error: insufficient permission for adding an object to repository database .git/objects
fatal: failed to write object
fatal: unpack-objects failed
1
뻔한 질문 : 당신이 수행 이 디스크에있는 파일에 대한 액세스 권한을?
—
Lasse V. Karlsen 2013 년
.git/objects파일 의 권한을 확인하십시오 . sudo과거의 어느 시점에서 실수로 사용 root하여 자신보다 소유권을 부여 했을 수 있습니다 .
@ChrisHayes 같은 문제가 발생하지만 어떤 .git / objects 파일입니까? 그 파일 / 디렉토리는 어디에 있습니까?
—
pedroremedios
@pedroremedios
—
크리스 헤이즈
.git는 모든 git 저장소의 기본에 존재하는 디렉토리입니다.