From: Reece Dunn <msclrhd@googlemail.com>
To: Dilip M <dilipm79@gmail.com>
Cc: Matthieu Moy <Matthieu.Moy@imag.fr>,
Brian Foster <brian.foster@innova-card.com>,
git list <git@vger.kernel.org>
Subject: Re: gitk doesn't work w/o sudo.
Date: Tue, 20 Jan 2009 18:00:49 +0000 [thread overview]
Message-ID: <3f4fd2640901201000h3ce33fd8i1a82487c9f6b0927@mail.gmail.com> (raw)
In-Reply-To: <c94f8e120901200935t75dba11fw3ce14b4ba965c878@mail.gmail.com>
2009/1/20 Dilip M <dilipm79@gmail.com>:
> On Tue, Jan 20, 2009 at 10:40 PM, Matthieu Moy <Matthieu.Moy@imag.fr> wrote:
>> "Dilip M" <dilipm79@gmail.com> writes:
>>
>>>> repeating Reece's question, what is the permissions/owner
>>>> _of_the_directory_which_contains_ the '.git/' directory?
>>>> I can reproduce this behaviour (git 1.6.0.4) simply by
>>>> denying myself search (née execute) permission on that
>>>> directory, for entirely obvious reasons.
>>>
>>> It's the same issue....
>>
>> You didn't answer the question.
>
> Sorry..I read it for .git directory...
>
> .git's parent directory is owned by user who us issuing gitk command
> and permisssion bit of 755 is set.
>
>>> Any ENV variable I can set to debug this...?
>>
>> GIT_TRACE can help.
>
> I tried with that but it didn't help for gitk. But sure, it helps with
> git command(s).
So can you run git commands that modify the git tree, e.g. git add? If
these are failing, that may explain why gitk is failing, and you can
use GIT_TRACE.
Also, do you know what commands are being executed by gitk that are
causing the failure you are experiencing?
Or... is your ENV (e.g. your PATH) the same for dm and root? In
particular, can they find the git commands? This would also be visible
by not being able to do things like `git log` (or, if it is an issue
with the deprecation of the `git-foo`-style command invocation, is the
GIT_EXEC_PATH set to point to the correct location and does dm have
the rights to execute it -- that is, is the x bit set for the
GIT_EXEC_PATH directory, as per
http://www.digizenstudio.com/blog/2008/11/09/weird-git-gui-startup-problem/?).
What error message are you getting from gitk? Is it possible to debug
gitk to find out what command is being executed and what error
code/exception it is returning/throwing?
- Reece
next prev parent reply other threads:[~2009-01-20 18:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-19 10:16 gitk doesn't work w/o sudo Dilip M
2009-01-19 11:59 ` Reece Dunn
2009-01-19 14:37 ` Dilip M
2009-01-20 8:12 ` Brian Foster
2009-01-20 16:51 ` Dilip M
2009-01-20 17:10 ` Matthieu Moy
2009-01-20 17:35 ` Dilip M
2009-01-20 18:00 ` Reece Dunn [this message]
2009-01-20 17:16 ` Johannes Schindelin
2009-01-20 18:20 ` Dilip M
2009-01-20 21:10 ` Johannes Schindelin
2009-01-19 14:48 ` Jing Xue
2009-01-19 15:35 ` Dilip M
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=3f4fd2640901201000h3ce33fd8i1a82487c9f6b0927@mail.gmail.com \
--to=msclrhd@googlemail.com \
--cc=Matthieu.Moy@imag.fr \
--cc=brian.foster@innova-card.com \
--cc=dilipm79@gmail.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).