Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Iseel 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,532 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,532 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