public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] xscavenger - game
  @ 2013-07-07 15:49 99%     ` Bryan Gardiner
  0 siblings, 0 replies; 1+ results
From: Bryan Gardiner @ 2013-07-07 15:49 UTC (permalink / raw
  To: gentoo-user

On Fri, 5 Jul 2013 21:55:36 -0600
Joseph <syscon780@gmail.com> wrote:

> On 07/05/13 23:36, David Relson wrote:
> >On Fri, 5 Jul 2013 18:49:20 -0600
> >Joseph wrote:
> >
> >> I installed "xscavenger" and it installed without any problems but
> >> I can seems to find this game anywhere. Yes, I'm in "games" group.
> >>
> >> >From the command line:
> >> /usr/games/bin/scavenger
> >> -bash: /usr/games/bin/scavenger: Permission denied
> >>
> >> /usr/games/bin/scavenger
> >> -rwxr-x--- 1 root games 70496 Jul  5 18:39 /usr/games/bin/scavenger
> >>
> >> --
> >> Joseph
> >
> >User root has permissions rwx.  Group games has permissions
> >r-x.  Everyone else has no access (permission ---).
> >
> >You're getting "Permission denied" because you're not running as
> >root and you're not a member of group "games".
> >
> >Regards,
> >
> >David
> 
> Thanks David for pointing it.
> Your are correct. 
> 
> What was confusing to me is the fact that I logged into the system
> via ssh to my account and "su" to use who was in group "games" but
> for some reason or another the games would not execute.
> 
> When I ssh directly to the user account, it worked :-/

Not sure if this was your problem, but since you said you were in the
games group to start with...  Note that after adding your user to any
group, you need to log out and back in for that change to take affect.
Existing sessions don't detect it.  If you don't want to re-log in,
you can "sg games" to open a new shell in the games group, or probably
su -l to yourself as suggested.

Cheers,
Bryan


^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2013-07-06  0:49     [gentoo-user] xscavenger - game Joseph
2013-07-06  3:36     ` David Relson
2013-07-06  3:55       ` Joseph
2013-07-07 15:49 99%     ` Bryan Gardiner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox