git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* aliases causing “Permission denied” error in git v1.7
@ 2011-11-04  8:09 Алексей Данченков
  2011-11-04 20:34 ` Jeff King
  0 siblings, 1 reply; 3+ messages in thread
From: Алексей Данченков @ 2011-11-04  8:09 UTC (permalink / raw)
  To: git

Hi!

$ git co -b newbranch
$ git co oldbranch

results in "fatal: cannot exec 'git-co': Permission denied" error.

In the same time, things like

$ git checkout -b newbranch
$ git checkout oldbranch

and

$ sudo git co -b newbranch
$ sudo git co oldbranch

work as expected. Ownership rights for the .git die are set for the user
and 0755/0644 are the mode for .git dir/subdir/files. There are no git-co
script anywhere in the system (as it is an alias to git-checkout, which
resides in /usr/libexec/git-core).

Aliases are defined in .gitconfig of the home dir:

[alias]
co = checkout

There is no difference in git config for root or normal user.

Things work well as expected when I install git v1.6. Going back to 1.7
gives me the same error.

What am I missing?

---

Gentoo / kernel v3.0.6 / git v1.7.3.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-05 11:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-04  8:09 aliases causing “Permission denied” error in git v1.7 Алексей Данченков
2011-11-04 20:34 ` Jeff King
     [not found]   ` <7vhb2jbopp.fsf@alter.siamese.dyndns.org>
2011-11-05 11:51     ` Алексей Данченков

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).