From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CB62D1381F3 for ; Sun, 7 Jul 2013 15:52:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 534B5E097C; Sun, 7 Jul 2013 15:51:56 +0000 (UTC) Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by pigeon.gentoo.org (Postfix) with ESMTP id 299ADE095C for ; Sun, 7 Jul 2013 15:51:55 +0000 (UTC) Received: from localhost (c-76-104-197-18.hsd1.wa.comcast.net [76.104.197.18]) by smtp.webfaction.com (Postfix) with ESMTP id 700F320FCDCF for ; Sun, 7 Jul 2013 15:51:54 +0000 (UTC) Date: Sun, 7 Jul 2013 08:49:30 -0700 From: Bryan Gardiner To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] xscavenger - game Message-ID: <20130707084930.064642c2@khumba.net> In-Reply-To: <20130706035536.GD30211@syscon7.inet> References: <20130706004920.GA30211@syscon7.inet> <20130705233606.7174fc78@osage> <20130706035536.GD30211@syscon7.inet> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: d57fc399-8851-49a2-b843-0ffcb0794f97 X-Archives-Hash: 3279f622a22c991316be4877139e64c8 On Fri, 5 Jul 2013 21:55:36 -0600 Joseph 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