From: Reece Dunn Date: Mon, 19 Jan 2009 11:59:28 GMT Subject: Re: gitk doesn't work w/o sudo. Message-ID: <3f4fd2640901190359w39ded50ds246903808e94246c@mail.gmail.com> In-Reply-To: 2009/1/19 Dilip M : > Hi, > > ..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? You can run (on the command line from the Terminal program): ls -lh directory to find this out (where directory is the directory you are interested in) and run: sudo chown user -R directory to change ownership of that directory (and all of its content) to the specified user (i.e. the one you are currently logged in as). This will make it so that you own that directory and can make changes to it. This should allow you to run gitk without using sudo. HTH, - Reece