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

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

 



2009/1/19 Dilip M <dilipm79@xxxxxxxxx>:
> 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
--
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