| View previous topic :: View next topic |
| Author |
Message |
dmvianna l33t


Joined: 22 Mar 2004 Posts: 741 Location: Down Underland
|
Posted: Sun Mar 04, 2007 8:53 pm Post subject: user in games group still cannot run games [solved] |
|
|
| 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 |
|
 |
bunder Bodhisattva


Joined: 10 Apr 2004 Posts: 5213 Location: Hamilton, Ontario
|
|
| Back to top |
|
 |
dmvianna l33t


Joined: 22 Mar 2004 Posts: 741 Location: Down Underland
|
Posted: Sun Mar 04, 2007 9:39 pm Post subject: |
|
|
| 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 |
|
 |
dmvianna l33t


Joined: 22 Mar 2004 Posts: 741 Location: Down Underland
|
Posted: Tue Mar 27, 2007 11:15 am Post subject: |
|
|
Oh, I think I found it!
| 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!!!  _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
| Back to top |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 6506
|
Posted: Tue Mar 27, 2007 11:31 am Post subject: |
|
|
| 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 |
|
 |
dmvianna l33t


Joined: 22 Mar 2004 Posts: 741 Location: Down Underland
|
Posted: Tue Mar 27, 2007 12:50 pm Post subject: |
|
|
| 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 |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 6506
|
Posted: Tue Mar 27, 2007 1:02 pm Post subject: |
|
|
| dmvianna wrote: | | emerge -u world |
That's not a full update - use:
Sounds like Portage doesn't change the ownership of already-existing directories, in src_install()  |
|
| Back to top |
|
 |
dmvianna l33t


Joined: 22 Mar 2004 Posts: 741 Location: Down Underland
|
Posted: Tue Mar 27, 2007 9:20 pm Post subject: |
|
|
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).  _________________ Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro |
|
| Back to top |
|
 |
|