View previous topic :: View next topic |
Author |
Message |
kranki2 n00b
Joined: 25 Feb 2004 Posts: 21 Location: FL Keys, USA
|
Posted: Tue Aug 10, 2004 2:31 am Post subject: xmahjongg on OSX |
|
|
I am trying to modify the ebuild for xmahjongg on OSX. I added the "macos" KEYWORD and emerged. Everything went fine. But when I went to use it, some not all of the directories and files did not have world r/x permission so my user could not access the game. I traced part of the problem to code in games.eclass. Does anyone know why it restricts the permissions and should I override those permissions and/or how should I approach it?
BTW, I provided the port for xmahjongg for darwinports which was no big deal since it compiled and ran on the first try and still does even without darwinports. I am just too much of a noob at gentoo.
Thanks for your help. |
|
Back to top |
|
|
tad Tux's lil' helper
Joined: 12 Sep 2003 Posts: 82 Location: Portland, OR (5-to-tha-Izzo-3)
|
Posted: Tue Aug 10, 2004 5:13 am Post subject: |
|
|
Put your user in the "games" group. See man groupmod for details. |
|
Back to top |
|
|
kranki2 n00b
Joined: 25 Feb 2004 Posts: 21 Location: FL Keys, USA
|
Posted: Tue Aug 10, 2004 12:41 pm Post subject: |
|
|
Ok, I will add the user to the game group, but I am not sure that that will help since the files/directories were root.wheel ownership with 750 or 640 permissions. The directories that needed changing and were created by the emerge were /usr/games, /usr/games/bin and /usr/share/games. All the files installed were root.wheel ownership as well.
Since this was my first install for gentoo on OSX, I am assuming that the ownership should have been root.games. Is this correct?
I could add it to wheel as well, but from a security point of view that is probably not wise for most OSX installs. Thanks for the suggestion. |
|
Back to top |
|
|
|