I've run into a strange situation with git lately. It seems that anything I do involving git will alter the permissions on my index file to the point that I can't do anything until I re-add the permissions on the file.
Looks like a bug to me, is it? It does seem like this has started happening since I moved over to 64b Ubuntu. $ ll .git total 156K ... drwxrwxrwx 2 dev dev 4.0K Jul 23 09:30 hooks -rwxrwxrwx 1 dev dev 17K Aug 8 13:12 index drwxrwxrwx 2 dev dev 4.0K Jul 19 09:31 info ... $ gs # On branch build-0.3 # Your branch is ahead of 'staging/build-0.3' by 5 commits. # (use "git push" to publish your local commits) # # Untracked files: # (use "git add <file>..." to include in what will be committed) # # scripts/loadMongo.coffee nothing added to commit but untracked files present (use "git add" to track) $ ll .git total 156K ... drwxrwxrwx 2 dev dev 4.0K Jul 23 09:30 hooks -rw-rw-r-- 1 dev dev 17K Aug 8 13:16 index # <--------------- this line <------------------------------- drwxrwxrwx 2 dev dev 4.0K Jul 19 09:31 info ... $ git --version git version 1.8.3.4 Ubuntu: Distributor ID: Ubuntu Description: Ubuntu 12.04.2 LTS Release: 12.04 Codename: precise -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html