From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#12632: file permissions checking mishandled when setuid Date: Fri, 19 Oct 2012 15:05:43 -0400 Message-ID: References: <5078CAB6.7020509@cs.ucla.edu> <83fw5i7s4p.fsf@gnu.org> <83a9vq7oqh.fsf@gnu.org> <507A58CC.10209@cs.ucla.edu> <83fw5h5yo6.fsf@gnu.org> <507B010F.20105@cs.ucla.edu> <831uh06gqd.fsf@gnu.org> <507B15B0.2040802@cs.ucla.edu> <83txtw4xmk.fsf@gnu.org> <507B2354.3030408@cs.ucla.edu> <83sj9g4vy7.fsf@gnu.org> <507BAA6C.2000601@cs.ucla.edu> <83lif74p78.fsf@gnu.org> <507C823D.40304@cs.ucla.edu> <83d30j3wqg.fsf@gnu.org> <507CF802.6000305@cs.ucla.edu> <83a9vm4bmv.fsf@gnu.org> <50818763.80501@cs.ucla.edu> <83wqymz4me.fsf@gnu.org> <5081A1DF.9000009@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1350673597 17607 80.91.229.3 (19 Oct 2012 19:06:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Oct 2012 19:06:37 +0000 (UTC) Cc: 12632@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 19 21:06:44 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TPHu6-0001tO-EK for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Oct 2012 21:06:42 +0200 Original-Received: from localhost ([::1]:49810 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPHtz-0001nf-1u for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Oct 2012 15:06:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPHtw-0001l4-Pn for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2012 15:06:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TPHtv-0007uc-LI for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2012 15:06:32 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41837) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPHtv-0007uT-Hv for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2012 15:06:31 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TPHvO-0005Pp-6k for bug-gnu-emacs@gnu.org; Fri, 19 Oct 2012 15:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Oct 2012 19:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12632 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 12632-submit@debbugs.gnu.org id=B12632.135067364020766 (code B ref 12632); Fri, 19 Oct 2012 19:08:02 +0000 Original-Received: (at 12632) by debbugs.gnu.org; 19 Oct 2012 19:07:20 +0000 Original-Received: from localhost ([127.0.0.1]:52088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TPHuh-0005Op-56 for submit@debbugs.gnu.org; Fri, 19 Oct 2012 15:07:19 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:49012 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TPHuf-0005Oi-7H for 12632@debbugs.gnu.org; Fri, 19 Oct 2012 15:07:18 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TPHt9-0005Zz-Mz; Fri, 19 Oct 2012 15:05:43 -0400 X-Spook: BROMURE Perl-RSA ISEC Sundevil HAMASMOIS president AVN X-Ran: *r6P*K8kr'>F%$RVewIAppMSD].Qv7$'7fH5sCbaPhDpodu\jmKM)agrcuwCo[tr[rcG1Y X-Hue: yellow X-Attribution: GM In-Reply-To: <5081A1DF.9000009@cs.ucla.edu> (Paul Eggert's message of "Fri, 19 Oct 2012 11:54:23 -0700") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:65754 Archived-At: Paul Eggert wrote: > On 10/19/2012 11:41 AM, Eli Zaretskii wrote: >> Why are we doing such changes during a feature freeze? > > To fix a bug. If a bug is long-standing and/or minor, and if the fix for it involves non-trivial modifications, then it can be better to leave it unfixed (at this stage in the release process), in case a new, more serious or subtle problem is inadvertently introduced. Your initial report said "setuid Emacs is mishandling file permissions on POSIXish platforms that lack 'euidaccess'" and "setuid Emacs is mishandling these file permissions even on GNUish platforms.". I doubt anyone is running setuid Emacs anywhere, so this seems like a theoretical concern.