{"thread":{"id":"30830","subject":"unable to index file UsrClass.dat","startedAt":"2012-06-18T10:09:08Z","lastAt":"2012-06-18T13:49:49Z","messageCount":3,"participants":["Grant Zhao","Carlos Martín Nieto","Ben Walton"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"193777","messageId":"CACUgyLmvWk0WeMqx-7Qkw0py8=1ND+4pZNJDp5JOYxEcjU-UXQ@mail.gmail.com","threadId":"30830","inReplyTo":null,"subject":"unable to index file UsrClass.dat","fromName":"Grant Zhao","fromEmail":"zhao.grant@gmail.com","sentAt":"2012-06-18T10:09:08Z","receivedAt":"2012-06-18T10:09:08Z","isPatch":false,"sender":{"key":"zhao.grant@gmail.com","avatar":null},"body":"I used \"git add .\",but \"fatal: adding files failed\".\nbecause\n\nerror: open(\"Local Settings/Application Data/Microsoft/Windows/UsrClass.dat\"): P\nermission denied\n\nI cannot open the file \"UsrClass.dat\",I use Windows XP Profesional\nSp3, please tell me why!\n\nthank you!\n\nGrant\n\n\nWelcome to msysGit\n\n\nRun 'git help git' to display the help index.\nRun 'git help <command>' to display help for specific commands.\nRun '/share/msysGit/add-shortcut.tcl' to add a shortcut to msysGit.\n\nAdministrator@TITIAN12508391 ~/Documents and Settings/Monica (master)\n$ git init\nReinitialized existing Git repository in C:/Documents and Settings/Monica/.git/\n\nAdministrator@TITIAN12508391 ~/Documents and Settings/Monica (master)\n$ git add .\nerror: open(\"Local Settings/Application Data/Microsoft/Windows/UsrClass.dat\"): P\nermission denied\nerror: unable to index file Local Settings/Application Data/Microsoft/Windows/Us\nrClass.dat\nfatal: adding files failed\n\nAdministrator@TITIAN12508391 ~/Documents and Settings/Monica (master)\n$"},{"id":"193780","messageId":"1340025010-sup-6406@pinkfloyd.chass.utoronto.ca","threadId":"30830","inReplyTo":"CACUgyLmvWk0WeMqx-7Qkw0py8=1ND+4pZNJDp5JOYxEcjU-UXQ@mail.gmail.com","subject":"Re: unable to index file UsrClass.dat","fromName":"Ben Walton","fromEmail":"bwalton@artsci.utoronto.ca","sentAt":"2012-06-18T13:11:58Z","receivedAt":"2012-06-18T13:11:58Z","isPatch":false,"sender":{"key":"bdwalton@gmail.com","avatar":"https://avatars.githubusercontent.com/u/396061?v=4"},"body":"Excerpts from Grant Zhao's message of Mon Jun 18 06:09:08 -0400 2012:\n\nHi Grant,\n\n> I cannot open the file \"UsrClass.dat\",I use Windows XP Profesional\n> Sp3, please tell me why!\n\nBecause windows has this file open and locked.  The locking model\nprevents concurrent access.  The only time you could add that file to\ngit would be when you're logged out and doing it as another user[1].\n\nThanks\n-Ben\n\n[1] Or have tricks that can read inside a shadow copy but that's a\n    whole can of worms I won't get in to.\n--\nBen Walton\nSystems Programmer - CHASS\nUniversity of Toronto\nC:416.407.5610 | W:416.978.4302\n"},{"id":"193779","messageId":"1340027389.10106.18.camel@beez.lab.cmartin.tk","threadId":"30830","inReplyTo":"CACUgyLmvWk0WeMqx-7Qkw0py8=1ND+4pZNJDp5JOYxEcjU-UXQ@mail.gmail.com","subject":"Re: unable to index file UsrClass.dat","fromName":"Carlos Martín Nieto","fromEmail":"cmn@elego.de","sentAt":"2012-06-18T13:49:49Z","receivedAt":"2012-06-18T13:49:49Z","isPatch":false,"sender":{"key":"cmn@elego.de","avatar":"https://avatars.githubusercontent.com/u/335443?v=4"},"body":"On Mon, 2012-06-18 at 03:09 -0700, Grant Zhao wrote:\n> I used \"git add .\",but \"fatal: adding files failed\".\n> because\n> \n> error: open(\"Local Settings/Application Data/Microsoft/Windows/UsrClass.dat\"): P\n> ermission denied\n> \n> I cannot open the file \"UsrClass.dat\",I use Windows XP Profesional\n> Sp3, please tell me why!\n\nDid you miss the part where is says \"Permission denied\"? You even quoted\nit in the e-mail.\n\nAs to why you don't have permission to read the file, that shouldn't be\nrelated to git at all. It looks like you're trying to read someone\nelse's data, which would certainly account for the lack of permissions.\n\n   cmn\n\n"}]}