"Dilip M" [off-list ref] writes:
quoted
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.
Any ENV variable I can set to debug this...?
GIT_TRACE can help.
--
Matthieu
On Tue, Jan 20, 2009 at 10:40 PM, Matthieu Moy [off-list ref] wrote:
"Dilip M" [off-list ref] writes:
quoted
quoted
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.
dm-laptop:~/repos/atria> ls -ld .
drwxr-xr-x 6 dm dm 4096 2009-01-18 23:28 .
dm-laptop:~/repos/atria> ls -ld .git/
drwxr-xr-x 8 dm dm 4096 2009-01-20 22:22 .git/
quoted
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).
-- DM
2009/1/20 Dilip M [off-list ref]:
On Tue, Jan 20, 2009 at 10:40 PM, Matthieu Moy [off-list ref] wrote:
quoted
"Dilip M" [off-list ref] writes:
quoted
quoted
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.
quoted
quoted
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