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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 19 January 2009 15:37:06 Dilip M wrote:
> On Mon, Jan 19, 2009 at 5:29 PM, Reece Dunn <msclrhd@xxxxxxxxxxxxxx> wrote:
> > 2009/1/19 Dilip M <dilipm79@xxxxxxxxx>:
> >> ..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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux