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: Sun, 21 Oct 2012 00:24:36 -0400 Message-ID: References: <5078CAB6.7020509@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> <5081ABD6.9060002@cs.ucla.edu> <23r4osd2f9.fsf@fencepost.gnu.org> <50836366.6080600@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 1350793529 20814 80.91.229.3 (21 Oct 2012 04:25:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Oct 2012 04:25:29 +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 Sun Oct 21 06:25:37 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 1TPn6U-0007YK-QD for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Oct 2012 06:25:34 +0200 Original-Received: from localhost ([::1]:34644 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPn6N-000082-6y for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Oct 2012 00:25:27 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPn6K-00007j-Gp for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2012 00:25:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TPn6J-0004yK-N5 for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2012 00:25:24 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPn6J-0004yG-Jr for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2012 00:25:23 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TPn7u-0006d3-3j for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2012 00:27: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: Sun, 21 Oct 2012 04:27: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: security patch Original-Received: via spool by 12632-submit@debbugs.gnu.org id=B12632.135079357925420 (code B ref 12632); Sun, 21 Oct 2012 04:27:02 +0000 Original-Received: (at 12632) by debbugs.gnu.org; 21 Oct 2012 04:26:19 +0000 Original-Received: from localhost ([127.0.0.1]:53697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TPn7C-0006bw-Ss for submit@debbugs.gnu.org; Sun, 21 Oct 2012 00:26:19 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:47338 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TPn7B-0006bp-2w for 12632@debbugs.gnu.org; Sun, 21 Oct 2012 00:26:17 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TPn5Y-0002Au-O5; Sun, 21 Oct 2012 00:24:36 -0400 X-Spook: genetic Albright Guantanamo Al Jazeera CIDA USDOJ X-Ran: #d$hzQyRYKCWA6s+ZD?s{tZFup5^~N@iJX:$r.@bEO|1$p:=iLC;Hc{~y{\tm$Bj60gnsy X-Hue: red X-Attribution: GM In-Reply-To: <50836366.6080600@cs.ucla.edu> (Paul Eggert's message of "Sat, 20 Oct 2012 19:52:22 -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:65811 Archived-At: Paul Eggert wrote: > On 10/20/2012 06:44 PM, Glenn Morris wrote: >> I thought setuid shell scripts were not supported on most UNIXs? > > Yes, nowadays it's typically disabled, but there are obvious > workarounds and people use them. They'll create a tiny executable that > is setuid, which turns around and invokes the script. I really can't see how this is something that "People do [...] all the time, often unwittingly"; but obviously at this point I'm just arguing for the sake of it...