git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: gitk doesn't work w/o sudo.

From
Dilip M <dilipm79@gmail.com>
Date
Jan 20, 2009, 17:35 UTC
Message-ID
<c94f8e120901200935t75dba11fw3ce14b4ba965c878@mail.gmail.com>
In-Reply-To
<vpq4oztgaz8.fsf@bauges.imag.fr>
On Tue, Jan 20, 2009 at 10:40 PM, Matthieu Moy <Matthieu.Moy@imag.fr> wrote:
Show 11 quoted lines
> "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.

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/

>> 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
Previous: Matthieu MoyNext: Reece Dunn
Message 7 of 13 in “gitk doesn't work w/o sudo.”
  1. Dilip MJan 19, 2009
  2. Reece DunnJan 19, 2009
  3. Dilip MJan 19, 2009
  4. Brian FosterJan 20, 2009
  5. Dilip MJan 20, 2009
  6. Matthieu MoyJan 20, 2009
  7. Dilip MJan 20, 2009
  8. Reece DunnJan 20, 2009
  9. Johannes SchindelinJan 20, 2009
  10. Dilip MJan 20, 2009
  11. Johannes SchindelinJan 20, 2009
  12. Jing XueJan 19, 2009
  13. Dilip MJan 19, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.