* [gentoo-user] xscavenger - game
@ 2013-07-06 0:49 Joseph
2013-07-06 2:45 ` Paul Hartman
2013-07-06 3:36 ` David Relson
0 siblings, 2 replies; 11+ messages in thread
From: Joseph @ 2013-07-06 0:49 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] xscavenger - game
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:36 ` David Relson
1 sibling, 1 reply; 11+ messages in thread
From: Paul Hartman @ 2013-07-06 2:45 UTC (permalink / raw
To: gentoo-user
On Fri, Jul 5, 2013 at 7:49 PM, Joseph <syscon780@gmail.com> 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
Probably does not help you solve your problem, but I just tried here
and it worked for me. I am running as my normal user. The permissions
of the installed binary look the same as yours.
Where I start the game I saw some messages like:
$ scavenger
No /home/paul/.scavenger/!!! Setting one up...
No /home/paul/.scavenger/levels.scl, setting one up...
Trying to copy /usr/share/games/scavenger/levels.scl......copied.
No /home/paul/.scavenger/scavrc, setting one up...
Also BTW -- there is a more modern SDL-based version on the author's
website. I don't see any ebuild but maybe you can compile it and see
how it goes.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] xscavenger - game
2013-07-06 2:45 ` Paul Hartman
@ 2013-07-06 3:27 ` Joseph
2013-07-06 3:37 ` Paul Hartman
0 siblings, 1 reply; 11+ messages in thread
From: Joseph @ 2013-07-06 3:27 UTC (permalink / raw
To: gentoo-user
On 07/05/13 21:45, Paul Hartman wrote:
>On Fri, Jul 5, 2013 at 7:49 PM, Joseph <syscon780@gmail.com> 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
>
>Probably does not help you solve your problem, but I just tried here
>and it worked for me. I am running as my normal user. The permissions
>of the installed binary look the same as yours.
>
>Where I start the game I saw some messages like:
>
>$ scavenger
>No /home/paul/.scavenger/!!! Setting one up...
>No /home/paul/.scavenger/levels.scl, setting one up...
>Trying to copy /usr/share/games/scavenger/levels.scl......copied.
>No /home/paul/.scavenger/scavrc, setting one up...
>
>
>Also BTW -- there is a more modern SDL-based version on the author's
>website. I don't see any ebuild but maybe you can compile it and see
>how it goes.
Maybe /usr/games/bin/ is not on the path?
How do I check it, I forgot :-/
--
Joseph
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] xscavenger - game
2013-07-06 0:49 [gentoo-user] xscavenger - game Joseph
2013-07-06 2:45 ` Paul Hartman
@ 2013-07-06 3:36 ` David Relson
2013-07-06 3:55 ` Joseph
1 sibling, 1 reply; 11+ messages in thread
From: David Relson @ 2013-07-06 3:36 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] xscavenger - game
2013-07-06 3:27 ` Joseph
@ 2013-07-06 3:37 ` Paul Hartman
2013-07-06 3:45 ` Joseph
0 siblings, 1 reply; 11+ messages in thread
From: Paul Hartman @ 2013-07-06 3:37 UTC (permalink / raw
To: gentoo-user
On Fri, Jul 5, 2013 at 10:27 PM, Joseph <syscon780@gmail.com> wrote:
> Maybe /usr/games/bin/ is not on the path?
> How do I check it, I forgot :-/
echo $PATH
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] xscavenger - game
2013-07-06 3:37 ` Paul Hartman
@ 2013-07-06 3:45 ` Joseph
0 siblings, 0 replies; 11+ messages in thread
From: Joseph @ 2013-07-06 3:45 UTC (permalink / raw
To: gentoo-user
On 07/05/13 22:37, Paul Hartman wrote:
>On Fri, Jul 5, 2013 at 10:27 PM, Joseph <syscon780@gmail.com> wrote:
>> Maybe /usr/games/bin/ is not on the path?
>> How do I check it, I forgot :-/
>
>
>echo $PATH
Path looks OK. /usr/games/bin is there
$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.4:/usr/games/bin:/var/spool/fax/bin
--
Joseph
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] xscavenger - game
2013-07-06 3:36 ` David Relson
@ 2013-07-06 3:55 ` Joseph
2013-07-06 9:03 ` Neil Bothwick
2013-07-07 15:49 ` Bryan Gardiner
0 siblings, 2 replies; 11+ messages in thread
From: Joseph @ 2013-07-06 3:55 UTC (permalink / raw
To: gentoo-user
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 :-/
--
Joseph
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] xscavenger - game
2013-07-06 3:55 ` Joseph
@ 2013-07-06 9:03 ` Neil Bothwick
2013-07-06 18:20 ` Thanasis
2013-07-07 15:49 ` Bryan Gardiner
1 sibling, 1 reply; 11+ messages in thread
From: Neil Bothwick @ 2013-07-06 9:03 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 474 bytes --]
On Fri, 5 Jul 2013 21:55:36 -0600, Joseph wrote:
> 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.
su gives you the rights of the user but it not the same as logging in as
that user. To do that use "su -l username" or "su username -".
--
Neil Bothwick
Cereal Killer Strikes Again! Cap'n Crunch found dead...
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] xscavenger - game
2013-07-06 9:03 ` Neil Bothwick
@ 2013-07-06 18:20 ` Thanasis
2013-07-06 19:32 ` Neil Bothwick
0 siblings, 1 reply; 11+ messages in thread
From: Thanasis @ 2013-07-06 18:20 UTC (permalink / raw
To: gentoo-user; +Cc: Neil Bothwick
on 07/06/2013 12:03 PM Neil Bothwick wrote the following:
> su username -
I think that sould be:
su - username
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] xscavenger - game
2013-07-06 18:20 ` Thanasis
@ 2013-07-06 19:32 ` Neil Bothwick
0 siblings, 0 replies; 11+ messages in thread
From: Neil Bothwick @ 2013-07-06 19:32 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 340 bytes --]
On Sat, 06 Jul 2013 21:20:12 +0300, Thanasis wrote:
> > su username -
>
> I think that sould be:
>
> su - username
You're right. su is incredibly picky about the location of - on the
command line, which is why I prefer to use -l.
--
Neil Bothwick
Someone who thinks logically is a nice contrast to the real world.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] xscavenger - game
2013-07-06 3:55 ` Joseph
2013-07-06 9:03 ` Neil Bothwick
@ 2013-07-07 15:49 ` Bryan Gardiner
1 sibling, 0 replies; 11+ messages in thread
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 [flat|nested] 11+ messages in thread
end of thread, other threads:[~2013-07-07 15:52 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox