From: Bryan Gardiner <bog@khumba.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] xscavenger - game
Date: Sun, 7 Jul 2013 08:49:30 -0700 [thread overview]
Message-ID: <20130707084930.064642c2@khumba.net> (raw)
In-Reply-To: <20130706035536.GD30211@syscon7.inet>
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
prev parent reply other threads:[~2013-07-07 15:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-06 0:49 [gentoo-user] xscavenger - game Joseph
2013-07-06 2:45 ` Paul Hartman
2013-07-06 3:27 ` Joseph
2013-07-06 3:37 ` Paul Hartman
2013-07-06 3:45 ` Joseph
2013-07-06 3:36 ` David Relson
2013-07-06 3:55 ` Joseph
2013-07-06 9:03 ` Neil Bothwick
2013-07-06 18:20 ` Thanasis
2013-07-06 19:32 ` Neil Bothwick
2013-07-07 15:49 ` Bryan Gardiner [this message]
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=20130707084930.064642c2@khumba.net \
--to=bog@khumba.net \
--cc=gentoo-user@lists.gentoo.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