can't add file to git repository but can change / commit

here is error : git add .emacs error: insufficient permission for adding an object to repository database .git/objects error: .emacs: failed to insert into database error: unable to index file .e...