On Fri, 5 Jul 2013 21:55:36 -0600
Joseph <syscon...@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

Reply via email to