public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Can't play games
@ 2006-08-24 16:48 sdoma
  2006-08-24 17:05 ` Boris Fersing
  0 siblings, 1 reply; 8+ messages in thread
From: sdoma @ 2006-08-24 16:48 UTC (permalink / raw
  To: gentoo-user

Hi again,

I've added some games to my system anr ran ``gpasswd -a frank games''.

I get "Permission denied" even for ``ls /usr/games''. Well trying to
start some game I get the same. Can anyone tell em what I'm missing?

Thanks
Frank


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Can't play games
  2006-08-24 16:48 sdoma
@ 2006-08-24 17:05 ` Boris Fersing
  2006-08-25  8:14   ` sdoma
  0 siblings, 1 reply; 8+ messages in thread
From: Boris Fersing @ 2006-08-24 17:05 UTC (permalink / raw
  To: gentoo-user

2006/8/24, sdoma <sdoma@karneval.cz>:
> Hi again,
>
> I've added some games to my system anr ran ``gpasswd -a frank games''.
>
> I get "Permission denied" even for ``ls /usr/games''. Well trying to
> start some game I get the same. Can anyone tell em what I'm missing?

Hi,

did you logout and log in after this command ?

Boris.
>
> Thanks
> Frank
>
>
> --
> gentoo-user@gentoo.org mailing list
>
>


-- 
Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Can't play games
@ 2006-08-24 17:14 brettholcomb
  0 siblings, 0 replies; 8+ messages in thread
From: brettholcomb @ 2006-08-24 17:14 UTC (permalink / raw
  To: gentoo-user

Is your user a member or the games group?

> 
> From: sdoma <sdoma@karneval.cz>
> Date: 2006/08/24 Thu PM 12:48:02 EDT
> To: gentoo-user@lists.gentoo.org
> Subject: [gentoo-user] Can't play games
> 
> Hi again,
> 
> I've added some games to my system anr ran ``gpasswd -a frank games''.
> 
> I get "Permission denied" even for ``ls /usr/games''. Well trying to
> start some game I get the same. Can anyone tell em what I'm missing?
> 
> Thanks
> Frank
> 
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 
> 

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Can't play games
  2006-08-24 17:05 ` Boris Fersing
@ 2006-08-25  8:14   ` sdoma
  2006-08-25  8:31     ` Dirk Heinrichs
                       ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: sdoma @ 2006-08-25  8:14 UTC (permalink / raw
  To: gentoo-user

Well, that was it. I'm quite surprised because I start xterm as 
``xterm -ls'', which should provide a login shell but I had to logoff
completely (terminating X and logout).

Thanks
Frank


On Thu, 2006-08-24 at 19:05 +0200, Boris Fersing wrote:
> 2006/8/24, sdoma <sdoma@karneval.cz>:
> > Hi again,
> >
> > I've added some games to my system anr ran ``gpasswd -a frank games''.
> >
> > I get "Permission denied" even for ``ls /usr/games''. Well trying to
> > start some game I get the same. Can anyone tell em what I'm missing?
> 
> Hi,
> 
> did you logout and log in after this command ?
> 
> Boris.
> >
> > Thanks
> > Frank
> >
> >
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
> 
> 
> -- 
> Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.
> 

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Can't play games
  2006-08-25  8:14   ` sdoma
@ 2006-08-25  8:31     ` Dirk Heinrichs
  2006-08-25  8:44     ` Peter Haworth
  2006-08-25 11:42     ` Pillon Matteo
  2 siblings, 0 replies; 8+ messages in thread
From: Dirk Heinrichs @ 2006-08-25  8:31 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 713 bytes --]

Am Freitag, 25. August 2006 10:14 schrieb ext sdoma:

> Well, that was it. I'm quite surprised because I start xterm as
> ``xterm -ls'', which should provide a login shell but I had to logoff
> completely (terminating X and logout).

A login shell only means that it parses different rc files on startup, just 
like it would do when the user logged in.

Bye...

	Dirk
-- 
Dirk Heinrichs          | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: dirk.heinrichs@capgemini.com
Hambornerstraße 55      | Web:  http://www.capgemini.com
D-40472 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Can't play games
  2006-08-25  8:14   ` sdoma
  2006-08-25  8:31     ` Dirk Heinrichs
@ 2006-08-25  8:44     ` Peter Haworth
  2006-08-25  9:05       ` Dirk Heinrichs
  2006-08-25 11:42     ` Pillon Matteo
  2 siblings, 1 reply; 8+ messages in thread
From: Peter Haworth @ 2006-08-25  8:44 UTC (permalink / raw
  To: sdoma, gentoo-user

On Fri, 25 Aug 2006 10:14:59 +0200, sdoma wrote:
> Well, that was it. I'm quite surprised because I start xterm as
> ``xterm -ls'', which should provide a login shell but I had to
> logoff completely (terminating X and logout).

A "login shell" is not a new login; it just means that as well as
reading .bashrc (or the equivalent for your shell), it also reads
.bash_profile, .bash_login and .profile when starting up, and reads
.bash_logout on exit.

To add groups to the currently running process requires root
privileges, even if the user is configured as a member of the new
group. The usual methods to achieve this are logging out and back in
again, or using newgrp (though this starts a new shell, and only
affects processes started from that shell).

-- 
	Peter Haworth	pmh@edison.ioppublishing.com
"Tradition means giving votes to the most obscure of all classes, our
 ancestors. It is the democracy of the dead. Tradition refuses to submit
 to the small and arrogant oligarchy of those who just happen to be
 walking about. All democrats object to men being disqualified by the
 accident of their birth; tradition objects to their being disqualified
 by the accident of their death."
		-- G. K. Chesterton
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Can't play games
  2006-08-25  8:44     ` Peter Haworth
@ 2006-08-25  9:05       ` Dirk Heinrichs
  0 siblings, 0 replies; 8+ messages in thread
From: Dirk Heinrichs @ 2006-08-25  9:05 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 981 bytes --]

Am Freitag, 25. August 2006 10:44 schrieb ext Peter Haworth:
> On Fri, 25 Aug 2006 10:14:59 +0200, sdoma wrote:
> > Well, that was it. I'm quite surprised because I start xterm as
> > ``xterm -ls'', which should provide a login shell but I had to
> > logoff completely (terminating X and logout).
>
> A "login shell" is not a new login; it just means that as well as
> reading .bashrc (or the equivalent for your shell), it also reads

Should be: ...instead of reading .bashrc (...), it reads...

In Gentoo, .bashrc is also read from login shells, because of

[[ -f ~/.bashrc ]] && . ~/.bashrc

in .bash_profile.

Bye...

	Dirk
-- 
Dirk Heinrichs          | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: dirk.heinrichs@capgemini.com
Hambornerstraße 55      | Web:  http://www.capgemini.com
D-40472 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Can't play games
  2006-08-25  8:14   ` sdoma
  2006-08-25  8:31     ` Dirk Heinrichs
  2006-08-25  8:44     ` Peter Haworth
@ 2006-08-25 11:42     ` Pillon Matteo
  2 siblings, 0 replies; 8+ messages in thread
From: Pillon Matteo @ 2006-08-25 11:42 UTC (permalink / raw
  To: gentoo-user

2006/8/25, sdoma <sdoma@karneval.cz>:
> Well, that was it. I'm quite surprised because I start xterm as
> ``xterm -ls'', which should provide a login shell but I had to logoff
> completely (terminating X and logout).

Next time try with newgrp(1). ;-)

Bye.

-- 
 * Matteo Pillon
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-08-25 11:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-24 17:14 [gentoo-user] Can't play games brettholcomb
  -- strict thread matches above, loose matches on Subject: below --
2006-08-24 16:48 sdoma
2006-08-24 17:05 ` Boris Fersing
2006-08-25  8:14   ` sdoma
2006-08-25  8:31     ` Dirk Heinrichs
2006-08-25  8:44     ` Peter Haworth
2006-08-25  9:05       ` Dirk Heinrichs
2006-08-25 11:42     ` Pillon Matteo

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