From: Nguyen Thai Ngoc Duy <pclouds@gmail.com>
To: Daniel Convissor <danielc@analysisandsolutions.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: hitting home directory's parent
Date: Sat, 22 Aug 2009 11:10:18 +0700 [thread overview]
Message-ID: <fcaeb9bf0908212110o5ed1233ek11183fa37b474a06@mail.gmail.com> (raw)
In-Reply-To: <20090821200503.GA19660@panix.com>
On Sat, Aug 22, 2009 at 3:05 AM, Daniel
Convissor<danielc@analysisandsolutions.com> wrote:
> Hi:
>
> I just installed git in my Cygwin installation for the first time. The
> git version is 1.6.1.2, which is the latest version they have. When I
> enter one of the following commands:
> git --help
> git config --global user.name "Daniel Convissor"
>
> I get this error:
> fatal: Cannot change to /home/danielc/..: Permission denied
>
> Though "git --version" executes fine.
>
> I've been using Cygwin for many years and no other program has ever
> produced this issue for me. For example, svn --help, ls --help, etc work
> just fine.
>
> Why is git venturing into to the home directory's parent directory? Is
> this a bug? If not, is this really necessary?
I guess it tried to find .git directory upward. I think you can set
GIT_CEILING_DIRECTORIES to make it stop at /home/danielc. Excerpt from
git.txt
-'GIT_CEILING_DIRECTORIES'::
This should be a colon-separated list of absolute paths.
If set, it is a list of directories that git should not chdir
up into while looking for a repository directory.
It will not exclude the current working directory or
a GIT_DIR set on the command line or in the environment.
(Useful for excluding slow-loading network directories.)
-
Duy
next prev parent reply other threads:[~2009-08-22 4:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-21 20:05 hitting home directory's parent Daniel Convissor
2009-08-22 4:10 ` Nguyen Thai Ngoc Duy [this message]
2009-08-22 15:05 ` Daniel Convissor
2009-08-22 16:20 ` Nguyen Thai Ngoc Duy
2009-08-22 16:22 ` Nguyen Thai Ngoc Duy
2009-08-22 18:16 ` Jeff King
2009-08-23 4:07 ` Nguyen Thai Ngoc Duy
2009-08-25 4:42 ` Jeff King
2009-08-23 5:12 ` Daniel Convissor
2009-08-25 4:48 ` Jeff King
2009-08-23 4:42 ` Daniel Convissor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fcaeb9bf0908212110o5ed1233ek11183fa37b474a06@mail.gmail.com \
--to=pclouds@gmail.com \
--cc=danielc@analysisandsolutions.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).