Gentoo Forums
Gentoo Forums
Quick Search: in
user in games group still cannot run games [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 741
Location: Down Underland

PostPosted: Sun Mar 04, 2007 8:53 pm    Post subject: user in games group still cannot run games [solved] Reply with quote

Code:
 $ groups
wheel audio cdrom video games cdrw usb users plugdev
$ dosbox
-bash: dosbox: command not found
:(

PaulBredbury suggested that I reinstall my system, but of course that is not a feasible alternative. There *has* to be a way to fix it. Reemerging the games does not help either.
_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro


Last edited by dmvianna on Tue Mar 27, 2007 11:16 am; edited 1 time in total
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5213
Location: Hamilton, Ontario

PostPosted: Sun Mar 04, 2007 9:10 pm    Post subject: Reply with quote

re-emerge pam/shadow/baselayout?

cheers
_________________
goodbye fgo. it was nice knowing you.
Back to top
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 741
Location: Down Underland

PostPosted: Sun Mar 04, 2007 9:39 pm    Post subject: Reply with quote

bunder wrote:
re-emerge pam/shadow/baselayout?


I even rebooted after it. Nope. :(

Code:
$ cd /usr/games/bin/
-bash: cd: /usr/games/bin/: Permission denied

_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Back to top
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 741
Location: Down Underland

PostPosted: Tue Mar 27, 2007 11:15 am    Post subject: Reply with quote

Oh, I think I found it! :D

Code:
server games # ls -l
total 4
drwx--x--- 2 root root 4096 2007-03-05 07:40 bin
server games # chgrp games bin
server games #exit
user@server ~ $ /usr/games/bin/dosbox
CONFIG:Loading primary settings from config file dosbox.conf
ALSA:Can't subscribe to MIDI port (65:0)
MIDI:Opened device:none

Yaaaay!!! :lol:
_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 6506

PostPosted: Tue Mar 27, 2007 11:31 am    Post subject: Reply with quote

dmvianna wrote:
chgrp games bin

/usr/portage/eclass/games.eclass contains chown, which is run by prepgamesdirs, which is in every games ebuild.

So, how did you break your system? Did you redefine GAMES_BINDIR in /etc/make.conf?
Back to top
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 741
Location: Down Underland

PostPosted: Tue Mar 27, 2007 12:50 pm    Post subject: Reply with quote

PaulBredbury wrote:
dmvianna wrote:
chgrp games bin

/usr/portage/eclass/games.eclass contains chown, which is run by prepgamesdirs, which is in every games ebuild.

So, how did you break your system? Did you redefine GAMES_BINDIR in /etc/make.conf?


I wiped the HD so I could give Gentoo maximum space and OS X minimum space. But I made my Gentoo backup with one of those user scripts from Gentoo-wiki which don't save all permissions... Now I know they're crap. Well, I fixed as much as I could, so I wouldn't need to start from scratch. I could not start from scratch and keep working through the week, this is my only computer. Not sure why games.eclass did not fix the directory group, but I can't imagine anything besides my half-baked reinstall. My system directory structure is standard through and through, I emerge --sync and emerge -u world almost daily, and I don't sleep until I leave my system tidy.
_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 6506

PostPosted: Tue Mar 27, 2007 1:02 pm    Post subject: Reply with quote

dmvianna wrote:
emerge -u world

That's not a full update - use:
Code:
emerge -uDN world


Sounds like Portage doesn't change the ownership of already-existing directories, in src_install() :(
Back to top
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 741
Location: Down Underland

PostPosted: Tue Mar 27, 2007 9:20 pm    Post subject: Reply with quote

Yep. I did several emerge -e world after recovering from my buggy system backup. I fixed as many permissions as I could find, manually. This one was left behind (games are not vital for working, duh). :mrgreen:
_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum