all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ulrich Mueller <ulm@gentoo.org>
To: emacs-devel@gnu.org
Subject: Re: [PATCH] Allow update-game-score to run sgid instead of suid.
Date: Thu, 5 Feb 2015 13:03:40 +0100	[thread overview]
Message-ID: <21715.23580.816153.499778@a1i15.kph.uni-mainz.de> (raw)
In-Reply-To: <21688.64785.754456.35609@a1i15.kph.uni-mainz.de>

>>>>> 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



  reply	other threads:[~2015-02-05 12:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-16 11:59 [PATCH] Allow update-game-score to run sgid instead of suid Ulrich Mueller
2015-02-05 12:03 ` Ulrich Mueller [this message]
2015-02-05 14:33   ` Stefan Monnier
2015-02-06 10:35     ` Ulrich Mueller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=21715.23580.816153.499778@a1i15.kph.uni-mainz.de \
    --to=ulm@gentoo.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.