turveysp
14 years ago
Using: Git-1.7.4-preview20110204
A couple of times now I've seen an issue where adding a new directory
of files to git in one branch (a) and then switching to a branch where
those files do not yet exist (b) causes the following error when then
switching back to (a) again:
error: cannot stat 'qml/uif/img': Permission denied
Where the uif/* files are the ones that have been added in (a). The
error is issued many times, presumably once for each file in the
directory.
Look at the file ownership in Windows Explorer it seems that some
directory entries end up without an owner and not even an
Administrator user can re-own them once they're in that state. When
this happens I end up having to boot into safe mode and nuking the
entire folder before re-cloning.
Has anyone else seen this issue? I've experienced it on several
machines and colleagues have seen it also.
Simon.
A couple of times now I've seen an issue where adding a new directory
of files to git in one branch (a) and then switching to a branch where
those files do not yet exist (b) causes the following error when then
switching back to (a) again:
error: cannot stat 'qml/uif/img': Permission denied
Where the uif/* files are the ones that have been added in (a). The
error is issued many times, presumably once for each file in the
directory.
Look at the file ownership in Windows Explorer it seems that some
directory entries end up without an owner and not even an
Administrator user can re-own them once they're in that state. When
this happens I end up having to boot into safe mode and nuking the
entire folder before re-cloning.
Has anyone else seen this issue? I've experienced it on several
machines and colleagues have seen it also.
Simon.