* UsrClass.dat Permission denied (Windows 7)
@ 2011-06-13 5:06 dm2000
2011-06-13 5:14 ` dm2000
2011-06-13 6:45 ` Dmitry Potapov
0 siblings, 2 replies; 3+ messages in thread
From: dm2000 @ 2011-06-13 5:06 UTC (permalink / raw)
To: git
Hello,
I am new to Git... I did a quick search on here and as well as google but
couldn't find a similar issue that others were having.
I am studying Ruby on Rails and having problems with the initial setup of
Git on my machine. Basically, I am trying to edit the .gitignore file.
However, when I enter: 'git add .' it results in the following:
error: open("appdata/local/microsoft/windows/usrclass.dat"): Permission
Denied
error: unable to index file appdata/local/microsoft/windows/usrclass.dat
fatal: adding files failed
Any idea how to correct this?
--
View this message in context: http://git.661346.n2.nabble.com/UsrClass-dat-Permission-denied-Windows-7-tp6469046p6469046.html
Sent from the git mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: UsrClass.dat Permission denied (Windows 7)
2011-06-13 5:06 UsrClass.dat Permission denied (Windows 7) dm2000
@ 2011-06-13 5:14 ` dm2000
2011-06-13 6:45 ` Dmitry Potapov
1 sibling, 0 replies; 3+ messages in thread
From: dm2000 @ 2011-06-13 5:14 UTC (permalink / raw)
To: git
To summarize this problem a little bit better, let me explain...
My goal right now it to get version control with Git. I am having a really
tough time due to the permission denied....
--
View this message in context: http://git.661346.n2.nabble.com/UsrClass-dat-Permission-denied-Windows-7-tp6469046p6469053.html
Sent from the git mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: UsrClass.dat Permission denied (Windows 7)
2011-06-13 5:06 UsrClass.dat Permission denied (Windows 7) dm2000
2011-06-13 5:14 ` dm2000
@ 2011-06-13 6:45 ` Dmitry Potapov
1 sibling, 0 replies; 3+ messages in thread
From: Dmitry Potapov @ 2011-06-13 6:45 UTC (permalink / raw)
To: dm2000; +Cc: git
On Mon, Jun 13, 2011 at 9:06 AM, dm2000 <david.matuszak@yahoo.com> wrote:
>
> I am studying Ruby on Rails and having problems with the initial setup of
> Git on my machine. Basically, I am trying to edit the .gitignore file.
> However, when I enter: 'git add .' it results in the following:
>
> error: open("appdata/local/microsoft/windows/usrclass.dat"): Permission
> Denied
> error: unable to index file appdata/local/microsoft/windows/usrclass.dat
> fatal: adding files failed
Why are you trying to put your whole home directory in the git repository?
Basically, it will never work, because Windows locks usrclass.dat and some
other files...
What you probably want to do is to create a new directory for your project,
initialize a new git repository in it using 'git init' and then add files
from this directory to the git repository as you did before.
In Git, usually every project has its own repository. In fact, many developers
have more than one repository for the same project. For instance, one repository
can be made public (usually it will be a 'bare' repository) and you also have
your own private repository with the working tree (i.e. non-bare repository).
In any case, every developer has their own private repository for each project.
Dmitry
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-13 6:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-13 5:06 UsrClass.dat Permission denied (Windows 7) dm2000
2011-06-13 5:14 ` dm2000
2011-06-13 6:45 ` Dmitry Potapov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).