Thomas Glanzmann <thomas@xxxxxxxxxxxx> writes: > Hello, > I narrowed it down. It is in "git checkout" if I copy the ".git" dir via > "cp -a" and type in "git checkout" it breaks. And it _only_ breaks for > subdirectories: Another guess: cp -a copies files preserving all permissions and ownerships (which works only as root). Nominally, the files now don't belong to you, and some scripts might take you by the word even if they _could_ just overwrite things if they actually tried. Try making chown -R root.root .git on your tree and see whether this makes git more comfortable. -- David Kastrup - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html