unable to index file UsrClass.dat

3 messages, 3 authors, 2016-06-15 · open the first message on its own page

unable to index file UsrClass.dat

From: Grant Zhao <hidden>
Date: 2016-06-15 22:54:07

I used "git add .",but "fatal: adding files failed".
because

error: open("Local Settings/Application Data/Microsoft/Windows/UsrClass.dat"): P
ermission denied

I cannot open the file "UsrClass.dat",I use Windows XP Profesional
Sp3, please tell me why!

thank you!

Grant

Re: unable to index file UsrClass.dat

From: Carlos Martín Nieto <hidden>
Date: 2016-06-15 22:54:07

On Mon, 2012-06-18 at 03:09 -0700, Grant Zhao wrote:
I used "git add .",but "fatal: adding files failed".
because

error: open("Local Settings/Application Data/Microsoft/Windows/UsrClass.dat"): P
ermission denied

I cannot open the file "UsrClass.dat",I use Windows XP Profesional
Sp3, please tell me why!
Did you miss the part where is says "Permission denied"? You even quoted
it in the e-mail.

As to why you don't have permission to read the file, that shouldn't be
related to git at all. It looks like you're trying to read someone
else's data, which would certainly account for the lack of permissions.

   cmn

Re: unable to index file UsrClass.dat

From: Ben Walton <hidden>
Date: 2016-06-15 22:54:07

Excerpts from Grant Zhao's message of Mon Jun 18 06:09:08 -0400 2012:

Hi Grant,
I cannot open the file "UsrClass.dat",I use Windows XP Profesional
Sp3, please tell me why!
Because windows has this file open and locked.  The locking model
prevents concurrent access.  The only time you could add that file to
git would be when you're logged out and doing it as another user[1].

Thanks
-Ben

[1] Or have tricks that can read inside a shadow copy but that's a
    whole can of worms I won't get in to.
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help