1 |
>>>>> On Tue, 8 Jul 2014, Rich Freeman wrote: |
2 |
|
3 |
> On Tue, Jul 8, 2014 at 3:31 AM, Ulrich Mueller <ulm@g.o> wrote: |
4 |
>> The install locations (/usr/games, /usr/share/games, /var/games, etc.) |
5 |
>> are specified by the FHS. So they're not entirely games team policy. |
6 |
|
7 |
> I just checked some random packages on Debian and found that adherence |
8 |
> to this path there is mixed. I'd say the majority of packages I |
9 |
> checked installed in /usr/games, but quite a few did not. Many of the |
10 |
> ones that tended to install there were games that probably predate the |
11 |
> Linux kernel, but this was by no means exclusively the case. |
12 |
|
13 |
> Their official policy says that games should go in /usr/games though. |
14 |
> They also state "Each game decides on its own security policy." They |
15 |
> apparently only use a games group for things like high scores and save |
16 |
> game dirs, and use sgid on the binary to accomplish this (minimizing |
17 |
> its use in general). (Note, I don't run Debian much, so this is the |
18 |
> result of a quick scan of their policies and the real world may vary.) |
19 |
|
20 |
It certainly differs between distros. Debian generally uses /usr/games |
21 |
and has a games group for score files. Fedora has chosen to ignore the |
22 |
FHS and installs everything in /usr/bin. IIUC, they also use an own |
23 |
group for each game if it needs to write shared score files. [1] |
24 |
|
25 |
Ulrich |
26 |
|
27 |
[1] http://thread.gmane.org/gmane.comp.freedesktop.games/365 |