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#9600: 24.0.50; .gdbinit does not run Date: Mon, 26 Sep 2011 03:26:18 -0400 Message-ID: <7sty7z3gth.fsf@fencepost.gnu.org> References: <83hb401otl.fsf@gnu.org> <87mxds1nz8.fsf@turtle.gmx.de> <83d3eo100v.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1317022052 27879 80.91.229.12 (26 Sep 2011 07:27:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 26 Sep 2011 07:27:32 +0000 (UTC) Cc: 9600@debbugs.gnu.org, rms@gnu.org, svenjoac@gmx.de To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 26 09:27:27 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R85b2-0000NK-O5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Sep 2011 09:27:24 +0200 Original-Received: from localhost ([::1]:45845 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R85b2-0000Dr-Ar for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Sep 2011 03:27:24 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R85az-0000Db-5S for bug-gnu-emacs@gnu.org; Mon, 26 Sep 2011 03:27:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R85ay-0007uO-1Z for bug-gnu-emacs@gnu.org; Mon, 26 Sep 2011 03:27:21 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47057) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R85ax-0007uK-U8 for bug-gnu-emacs@gnu.org; Mon, 26 Sep 2011 03:27:20 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R85bd-00014T-Ij for bug-gnu-emacs@gnu.org; Mon, 26 Sep 2011 03:28:01 -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: Mon, 26 Sep 2011 07:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9600 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9600-submit@debbugs.gnu.org id=B9600.13170220284048 (code B ref 9600); Mon, 26 Sep 2011 07:28:01 +0000 Original-Received: (at 9600) by debbugs.gnu.org; 26 Sep 2011 07:27:08 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R85al-00013E-N9 for submit@debbugs.gnu.org; Mon, 26 Sep 2011 03:27:08 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R85ai-000136-LD for 9600@debbugs.gnu.org; Mon, 26 Sep 2011 03:27:06 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R85Zy-0004KK-RQ; Mon, 26 Sep 2011 03:26:18 -0400 X-Spook: AVIP Kh-11 DRM arrangements Merlin USCOI CESID Capricorn X-Ran: ji$@u\GrimQT (Eli Zaretskii's message of "Mon, 26 Sep 2011 05:59:44 +0300") 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.11 Precedence: list Resent-Date: Mon, 26 Sep 2011 03:28:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) 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:51864 Archived-At: Eli Zaretskii wrote: > Yes, I think so. At least if I chmod a file to remove all of its > write bits, "bzr modified" doesn't call out that file, and if I modify > it and "bzr revert", the reverted file keeps the mode bits I set on > it. > > But I would really suggest to get and/or build a later GDB from > official sources. AFAICS, rms still has not said what the permissions of his gdbinit file were, beyond "writable". It seems this must mean "world-writable". I tested with Debian testing's gdb "7.3-debian". A gdbinit file writable by me was fine, a world-writable gdbinit was rejected with warning: not using untrusted file ".gdbinit" This seems entirely reasonable to me [1]. No need to build another gdb. Just use a sensible umask when checking Emacs out from the repository. Since I hope that everyone building Emacs from source does not use `umask 000', I don't think any Emacs changes are needed. [1] Also: http://www.cygwin.com/ml/gdb-patches/2005-05/msg00648.html