getlatestjenkins.sh: git add fails
Issue #8
resolved
error: insufficient permission for adding an object to repository database .git/objects
error: minecraft_server_1.5.1_CanaryMod_c099767.jar: failed to insert into database error: unable to index file minecraft_server_1.5.1_CanaryMod_c099767.jar fatal: adding files failed
Comments (6)
-
-
- changed status to resolved
Actually this was already set - but it seems the objects dir in .git wasn't group writable. Fixed now.
-
I couldn't find it in the repo's config -- maybe it's only set for the user you're checking with?
-
-
Oh and removing the username from the config is the other thing i did to enable everyone to pull and push from the remote under their own user. Should all work now.
-
Oh oops. Must've been the time.
- Log in to comment
git's
core.sharedRepository
setting probably needs to be set totrue
for this to properly work: