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

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

From
BFBrian Foster <brian.foster@innova-card.com>
Date
Jan 20, 2009, 08:12 UTC
Message-ID
<200901200912.14432.brian.foster@innova-card.com>
In-Reply-To
<c94f8e120901190637i294d379dke3a07a90da5076f8@mail.gmail.com>
On Monday 19 January 2009 15:37:06 Dilip M wrote:
Show 13 quoted lines
> On Mon, Jan 19, 2009 at 5:29 PM, Reece Dunn <msclrhd@googlemail.com> wrote:
> > 2009/1/19 Dilip M <dilipm79@gmail.com>:
> >> ..I recently install GIT on Ubuntu (hardy) box....I am able to use
> >> 'gitk' only If I do 'sudo'. Without 'sudo' it complains 'repository
> >> not found'
> >
> > Who is the owner of the repository directory (and the .git directory)
> > and what are the permissions on the directory?  [ ... ]
> 
> dm-laptop:~/repos/atria> id -a
> uid=1000(dm) gid=1000(dm)  [ ... ]
> dm-laptop:~/repos/atria> ls -lh .git/
>[... all looks Ok ...]
 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.
cheers!
	-blf-
-- 
“How many surrealists does it take to   | Brian Foster
 change a lightbulb? Three. One calms   | somewhere in south of France
 the warthog, and two fill the bathtub  |   Stop E$$o (ExxonMobil)!
 with brightly-coloured machine tools.” |      http://www.stopesso.com
Previous: Dilip MNext: Dilip M
Message 4 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.