[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Allow update-game-score to run sgid instead of suid.
From: |
Ulrich Mueller |
Subject: |
Re: [PATCH] Allow update-game-score to run sgid instead of suid. |
Date: |
Thu, 5 Feb 2015 13:03:40 +0100 |
>>>>> On Fri, 16 Jan 2015, I wrote:
> Currently the update-game-score program is installed with the setuid
> flag, per default to the "games" user. It is more common for games
> with a shared score file to be installed setgid "games" instead.
> The patch included below would allow running update-game-score setgid
> instead.
This I have committed some time ago.
> Questions:
> - I have kept the previous default behaviour, namely suid to "games"
> if such a user exists. IMHO it would be better not to install any
> suid/sgid binary by default, but only if explicitly requested by a
> configure option.
Coming back to this. I'd expect the suid/sgid setup to exist mostly
when Emacs is being built for a distro. Otherwise, I'd rather not have
the build system pick up some random username (I admit that "games" is
fairly common, but it is not specified by any standard) and install a
suid binary for it. Such a thing should be explicitly requested by a
configure option.
So, any objections against changing the default, as indicated above?
Ulrich
- Re: [PATCH] Allow update-game-score to run sgid instead of suid.,
Ulrich Mueller <=