--- Begin Message ---
Subject: |
Remove update-game-score |
Date: |
Tue, 28 Feb 2017 01:54:31 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Package: emacs
Severity: wishlist
Version: 25.2
I'd like to suggest removing the update-game-score executable and the
associated machinery (Makefile rules, related gamegrid.el complexity).
update-game-score is a standalone executable whose job is to write a
system-wide score file for snake and tetris. For this purpose, it needs
to be installed setgid (or setuid) to the games group (or user), and the
central score files need to be pre-created with the relevant ownership
(see lib-src/Makefile).
In practice, I think this facility is very little used, and so should be
removed so that there are fewer things that need to be maintained.
Non-root users compiling and installing their own Emacs normally cannot
set the required permissions on the binary, or write to a central shared
score directory.
Distributions don't like having setuid/setgid binaries in their binary
packages because of the potential security implications, so tend to
strip them out. For example, in both the Red Hat rpm and Debian dpkg
packages for Emacs, update-game-score is not installed setgid or setuid.
So it doesn't do anything useful for these two major distributions and
their derivatives.
Ref eg
https://koji.fedoraproject.org/koji/fileinfo?rpmID=8691568&filename=/usr/libexec/emacs/25.1/x86_64-redhat-linux-gnu/update-game-score
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#25895: Remove update-game-score |
Date: |
Sun, 12 Mar 2017 12:06:36 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
Eli Zaretskii wrote:
I'd
like to have in the affected Makefile a comment which summarized the
rationale in the commit message
OK, I added a comment and installed the patch. Marking this bug as done.
--- End Message ---