Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

git aliases [SOLVED]

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
danvari
Tux's lil' helper
Tux's lil' helper
Posts: 131
Joined: Fri Apr 04, 2008 10:57 am

git aliases [SOLVED]

  • Quote

Post by danvari » Sat Apr 07, 2012 12:55 pm

Hello :)!

I recently switched back from Archlinux to Gentoo and now i have some problems regarding git aliases. My gitconfig does look like this:

Code: Select all

...
[alias]
	st = status -s
	co = checkout
	br = branch
	ci = commit
...
But when i use an alias i get the following error message (same config, does not happen on Arch):
$ git st
fatal: cannot exec 'git-st': Permission denied
My USE-flags for git:
bash-completion blksha1 curl cvs iconv perl threads tk webdav -cgi -doc -emacs -gtk -ppcsha1 -subversion -xinetd
Maybe my USE-flags are wrong, I dont know :-/.

EDIT SOLUTION:
______________
see http://stackoverflow.com/questions/7997 ... nied-error
one has to add permissions to all (?) binary directories, specifically gentoo:

sudo chmod +x /usr/games/bin/

and then its working
Last edited by danvari on Mon Apr 09, 2012 9:03 pm, edited 1 time in total.
Top
needles
n00b
n00b
User avatar
Posts: 31
Joined: Thu Feb 27, 2003 3:18 am
Location: Downingtown, Pennsylvania - USA
Contact:
Contact needles
Website

  • Quote

Post by needles » Sat Apr 07, 2012 5:50 pm

I'm running in to this issue too. I have three Gentoo machines, but only one of them, my netbook, exhibits this issue.

I think it has something to do with bash-completion. My machine exhibits this issue as well:

When I try `perldoc<tab><tab>`, I see this output:

Code: Select all

-bash: /etc/bash_completion.d/helpers/perl: No such file or directory
If I then press <tab> again, I see the above message again, with an additional bit:

Code: Select all

-bash: /etc/bash_completion.d/helpers/perl: No such file or directory

Display all 233 possibilities? (y or n)
If I then press 'y', I'll see the files in the current directory, followed by all of the standard perldoc files.

My other two Gentoo installs are a good bit older, and are 64-bit. The one that is acting up in this way is a newer install and is x86.

I've dug around a bit, and I'm pretty sure my environment is sane, but something really does seem amiss here.

Any ideas, anyone?
Top
danvari
Tux's lil' helper
Tux's lil' helper
Posts: 131
Joined: Fri Apr 04, 2008 10:57 am

  • Quote

Post by danvari » Mon Apr 09, 2012 9:04 pm

i have added a solution for this issue, dont know if that helps you too.
Top
needles
n00b
n00b
User avatar
Posts: 31
Joined: Thu Feb 27, 2003 3:18 am
Location: Downingtown, Pennsylvania - USA
Contact:
Contact needles
Website

  • Quote

Post by needles » Wed Apr 11, 2012 2:55 pm

danvari wrote:i have added a solution for this issue, dont know if that helps you too.
Danvari,

It did, so thanks to you for that. I use StackOverflow and ServerFault a bit, but have always come here for my Gentoo-specific issues. I may need to reconsider that!

One interesting thing I discovered was that on my two functioning machines my user was in the 'games' group, so no worries. I don't have myself in it on the netbook, where I was having the issue.

I felt the more correct fix was to add my user to the games group, and then play a little worm for my trouble. :)

I thought this and the perl completion issue was related as they were both only present on one of my Gentoo machines, but that one persists so I'll have to look elsewhere for an answer to that.

Thanks so much for your help! Nice job!
Top
Post Reply

4 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic