Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialIseel Ise
4,931 Pointsinsufficient permission for adding an object to repository database
When I try to
treehouse:~/workspace/medals$ git add medals.html
then an error message appears :
error: insufficient permission for adding an object to repository database .git/objects
error: medals.html: failed to insert into database
error: unable to index file medals.html
fatal: adding files failed
I set up the git repository, I verified it was in medals file with ls -a and when I checked with get status I was informed :
On branch master
Initial commit
Untracked files:
(use "git add <file>..." to include in what will be committed)
bronze.html
medals.html
nothing added to commit but untracked files present (use "git add" to track)
Does someone have an idea where the issue is from ?
Thank you a lot :)
Joseph Turner
Full Stack JavaScript Techdegree Graduate 16,794 PointsI am having the same issue. Unsuccessful with Google searches :(
6 Answers
adrian miranda
13,561 PointsIt looks like there may be a problem with the workspace for the introduction to git workspace. It's not quite clear, but it appears the workspace is set up so that you wind up creating files that you don't have permission to access. Not sure what is going on, although it appears that maybe the container security may be messed up. I have put in a support request, I would suggest you do the same. Use the Support tab to put in a request. Treehouse does not seem to look at the Community. Be sure to give full details from the beginning.
adrian miranda
13,561 PointsMy support request didn't get anywhere. You may want to try yourself.
andy gorman
39 Pointsstill broken. I guess that's one way to make sure people have to stay past the "Free 7 day trial".
Jie Wang
487 Pointsgit add still broken.
dk13
10,541 PointsProblem still persists on Feb 26
Ali Taylor-Cipolla
1,896 PointsProblem persists 10 mar
Jasmine Graber
11,878 PointsJasmine Graber
11,878 PointsI am experiencing the same issue