From: Reece Dunn <msclrhd@googlemail.com>
To: Dilip M <dilipm79@gmail.com>
Cc: git list <git@vger.kernel.org>
Subject: Re: gitk doesn't work w/o sudo.
Date: Mon, 19 Jan 2009 11:59:28 +0000 [thread overview]
Message-ID: <3f4fd2640901190359w39ded50ds246903808e94246c@mail.gmail.com> (raw)
In-Reply-To: <c94f8e120901190216x246589ebwc4a44dd85bb655d2@mail.gmail.com>
2009/1/19 Dilip M <dilipm79@gmail.com>:
> 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
next prev parent reply other threads:[~2009-01-19 12:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-19 10:16 gitk doesn't work w/o sudo Dilip M
2009-01-19 11:59 ` Reece Dunn [this message]
2009-01-19 14:37 ` Dilip M
2009-01-20 8:12 ` Brian Foster
2009-01-20 16:51 ` Dilip M
2009-01-20 17:10 ` Matthieu Moy
2009-01-20 17:35 ` Dilip M
2009-01-20 18:00 ` Reece Dunn
2009-01-20 17:16 ` Johannes Schindelin
2009-01-20 18:20 ` Dilip M
2009-01-20 21:10 ` Johannes Schindelin
2009-01-19 14:48 ` Jing Xue
2009-01-19 15:35 ` Dilip M
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3f4fd2640901190359w39ded50ds246903808e94246c@mail.gmail.com \
--to=msclrhd@googlemail.com \
--cc=dilipm79@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).