Re: UsrClass.dat Permission denied (Windows 7)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 13, 2011 at 9:06 AM, dm2000 <david.matuszak@xxxxxxxxx> 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
--
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


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]