From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 25 13:35:08 2011 Received: (at submit) by debbugs.gnu.org; 25 Sep 2011 17:35:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7sbb-0000Jy-He for submit@debbugs.gnu.org; Sun, 25 Sep 2011 13:35:08 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7sbX-0000Jj-WE for submit@debbugs.gnu.org; Sun, 25 Sep 2011 13:35:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R7sat-0007wa-UM for submit@debbugs.gnu.org; Sun, 25 Sep 2011 13:34:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,BAYES_00, RP_MATCHES_RCVD,T_FRT_BEFORE autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:34836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7sat-0007wW-Ss for submit@debbugs.gnu.org; Sun, 25 Sep 2011 13:34:23 -0400 Received: from eggs.gnu.org ([140.186.70.92]:42633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7sas-00083w-GO for bug-gnu-emacs@gnu.org; Sun, 25 Sep 2011 13:34:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R7saq-0007w1-Jh for bug-gnu-emacs@gnu.org; Sun, 25 Sep 2011 13:34:22 -0400 Received: from fencepost.gnu.org ([140.186.70.10]:37169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7saq-0007vx-ER for bug-gnu-emacs@gnu.org; Sun, 25 Sep 2011 13:34:20 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R7saq-00021p-6i; Sun, 25 Sep 2011 13:34:20 -0400 Date: Sun, 25 Sep 2011 13:34:20 -0400 Message-Id: Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: bug-gnu-emacs@gnu.org Subject: 24.0.50; .gdbinit does not run X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: rms@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': I built Emacs in place. GDB did not run .gdbinit because the file is writable. Once I saw that, I knew how to work around it, but it should not be necessary for everyone that builds Emacs in place to work around it. It should be fixed in Emacs so the problem does not occur. One idea is, rename .gdbinit to .gdbinit-real, and have compilation generate a trivial read-only .gdbinit which only says `source .gdbinit-real'. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /home/rms/emacs-bzr/trunk/etc/DEBUG. In GNU Emacs 24.0.50.4 (mips64el-unknown-linux-gnu, GTK+ Version 2.12.12) of 2011-09-22 on theobromine2 configured using `configure 'CFLAGS=-g -O1'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Mail Minor modes in effect: shell-dirtrack-mode: t diff-auto-refine-mode: t gpm-mouse-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: TAB RET g C-u C-p C-p C-p C-o C-x o C-g ESC x c l e a C-g ESC x c l e a u DEL n u p RET C-o C-x o C-x o C-n C-o C-n C-o C-p C-o C-x o C-x o C-n C-o C-x o C-x 1 C-u C-n C-u C-n C-n C-n C-n C-n C-n I t SPC d o e s n ' t SPC s e e m SPC t o SPC g DEL b e C-a C-k I SPC d o u b t SPC i t SPC i s SPC G D B SPC DEL ' s SPC f a i l DEL DEL u l d DEL , DEL r , SPC DEL DEL DEL t , SPC s i n c e SPC m y SPC G D B SPC e x e c u t a b l e SPC w a s SPC c m p DEL DEL o m p i l e d SPC i n SPC 2 0 0 8 RET a n d SPC i SPC a m p r e ESC DEL ESC DEL i t SPC i s SPC u n l i k e l y SPC I SPC h a e SPC DEL DEL v e SPC n o t SPC r u n SPC x b a c k t r a c e SPC b e f o r e . DEL ESC DEL b e f o r e SPC ESC DEL s i n c e SPC t h e n . C-x C-s C-a C-p C-p C-p C-p C-p ESC f ESC f ESC d C-x C-s C-u C-x m ESC x r e DEL DEL r e p o TAB r TAB RET Recent messages: Quit [2 times] find-file-noselect: Command attempted to use minibuffer while in minibuffer Redisplaying...done Quit Auto-saving...done Saving file /home/rms/outgoing/out-5... Wrote /home/rms/outgoing/out-5 Saving file /home/rms/outgoing/out-5... Wrote /home/rms/outgoing/out-5 Making completion list... Load-path shadows: None found. Features: (gud mail-extr pp shadow emacsbug compare-w log-view parse-time mule-util quail ispell speedbar sb-image ezimage dframe assoc ind-util edmacro kmacro dired-aux rmailout sgml-mode ansi-color shell pcomplete grep qp dabbrev newcomment warnings cl byte-opt compile comint bytecomp byte-compile cconv macroexp find-func help-mode view help-fns cc-mode cc-fonts cc-guess cc-bytecomp cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs whitespace diff-mode log-edit easy-mmode ring pcvs-util vc-sccs vc-svn vc-cvs vc-rcs vc-dir ewoc vc ediff-merg ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff vc-dispatcher add-log multi-isearch vc-bzr mailalias rmailmm message sendmail format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader mail-parse rfc2231 rmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils dired regexp-opt t-mouse time-date battery paren cus-start cus-load tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use free telephony http://directory.fsf.org/category/tel/ From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 25 14:04:49 2011 Received: (at 9600) by debbugs.gnu.org; 25 Sep 2011 18:04:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7t4L-00011U-At for submit@debbugs.gnu.org; Sun, 25 Sep 2011 14:04:49 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7t4I-00011M-P0 for 9600@debbugs.gnu.org; Sun, 25 Sep 2011 14:04:47 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LS300H00B8OZA00@a-mtaout22.012.net.il> for 9600@debbugs.gnu.org; Sun, 25 Sep 2011 21:04:06 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.8.215]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LS300HXKBITMCB0@a-mtaout22.012.net.il>; Sun, 25 Sep 2011 21:04:06 +0300 (IDT) Date: Sun, 25 Sep 2011 21:04:06 +0300 From: Eli Zaretskii Subject: Re: bug#9600: 24.0.50; .gdbinit does not run In-reply-to: X-012-Sender: halo1@inter.net.il To: rms@gnu.org Message-id: <83hb401otl.fsf@gnu.org> References: X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 9600 Cc: 9600@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > Date: Sun, 25 Sep 2011 13:34:20 -0400 > From: Richard Stallman > > I built Emacs in place. GDB did not run .gdbinit because the file is > writable. Once I saw that, I knew how to work around it, but it > should not be necessary for everyone that builds Emacs in place to > work around it. It should be fixed in Emacs so the problem does not > occur. FWIW, I cannot reproduce this with GDB 7.3, 7.2, or 7.1 and with today's Emacs trunk. I couldn't try earlier GDB versions. What are the exact permissions of your .gdbinit? Mine are 664 in one tree and 666 in another; both work. From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 25 14:23:03 2011 Received: (at 9600) by debbugs.gnu.org; 25 Sep 2011 18:23:03 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7tLy-0001Rp-Up for submit@debbugs.gnu.org; Sun, 25 Sep 2011 14:23:03 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1R7tLw-0001RN-4o for 9600@debbugs.gnu.org; Sun, 25 Sep 2011 14:23:01 -0400 Received: (qmail invoked by alias); 25 Sep 2011 18:22:19 -0000 Received: from p4FC76C09.dip.t-dialin.net (EHLO turtle.gmx.de) [79.199.108.9] by mail.gmx.net (mp061) with SMTP; 25 Sep 2011 20:22:19 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX1/No/cCNiHNl1B8v9qFWF6FxZcIppzjIHxasDCcyb VLfAzP+/rUqfQT Received: by turtle.gmx.de (Postfix, from userid 1000) id CBFA33F4F3; Sun, 25 Sep 2011 20:22:19 +0200 (CEST) From: Sven Joachim To: Eli Zaretskii Subject: Re: bug#9600: 24.0.50; .gdbinit does not run References: <83hb401otl.fsf@gnu.org> Date: Sun, 25 Sep 2011 20:22:19 +0200 In-Reply-To: <83hb401otl.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 25 Sep 2011 21:04:06 +0300") Message-ID: <87mxds1nz8.fsf@turtle.gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 9600 Cc: 9600@debbugs.gnu.org, rms@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.2 (---) On 2011-09-25 20:04 +0200, Eli Zaretskii wrote: >> Date: Sun, 25 Sep 2011 13:34:20 -0400 >> From: Richard Stallman >> >> I built Emacs in place. GDB did not run .gdbinit because the file is >> writable. Once I saw that, I knew how to work around it, but it >> should not be necessary for everyone that builds Emacs in place to >> work around it. It should be fixed in Emacs so the problem does not >> occur. > > FWIW, I cannot reproduce this with GDB 7.3, 7.2, or 7.1 and with > today's Emacs trunk. I couldn't try earlier GDB versions. > > What are the exact permissions of your .gdbinit? Mine are 664 in one > tree and 666 in another; both work. Richard may have a Debian-patched GDB which complains if the .gdbinit file is world writable. Cheers, Sven From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 25 16:02:51 2011 Received: (at 9600) by debbugs.gnu.org; 25 Sep 2011 20:02:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7uuZ-0004Vr-1a for submit@debbugs.gnu.org; Sun, 25 Sep 2011 16:02:51 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7uuW-0004Vg-7c for 9600@debbugs.gnu.org; Sun, 25 Sep 2011 16:02:49 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LS300I00GUXQE00@a-mtaout22.012.net.il> for 9600@debbugs.gnu.org; Sun, 25 Sep 2011 23:01:41 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.8.215]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LS300IISGYSNR40@a-mtaout22.012.net.il>; Sun, 25 Sep 2011 23:01:41 +0300 (IDT) Date: Sun, 25 Sep 2011 23:01:41 +0300 From: Eli Zaretskii Subject: Re: bug#9600: 24.0.50; .gdbinit does not run In-reply-to: <87mxds1nz8.fsf@turtle.gmx.de> X-012-Sender: halo1@inter.net.il To: Sven Joachim Message-id: <83ehz41jdm.fsf@gnu.org> References: <83hb401otl.fsf@gnu.org> <87mxds1nz8.fsf@turtle.gmx.de> X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 9600 Cc: 9600@debbugs.gnu.org, rms@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > From: Sven Joachim > Cc: rms@gnu.org, 9600@debbugs.gnu.org > Date: Sun, 25 Sep 2011 20:22:19 +0200 > > Richard may have a Debian-patched GDB which complains if the .gdbinit > file is world writable. I guess now I know why I build my own GDB... From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 25 21:01:22 2011 Received: (at 9600) by debbugs.gnu.org; 26 Sep 2011 01:01:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7zZQ-0006sW-ST for submit@debbugs.gnu.org; Sun, 25 Sep 2011 21:01:22 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7zZO-0006sJ-3y for 9600@debbugs.gnu.org; Sun, 25 Sep 2011 21:01:18 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R7zYi-0004Pm-LM; Sun, 25 Sep 2011 21:00:36 -0400 Date: Sun, 25 Sep 2011 21:00:36 -0400 Message-Id: Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: Sven Joachim In-reply-to: <87mxds1nz8.fsf@turtle.gmx.de> (message from Sven Joachim on Sun, 25 Sep 2011 20:22:19 +0200) Subject: Re: bug#9600: 24.0.50; .gdbinit does not run References: <83hb401otl.fsf@gnu.org> <87mxds1nz8.fsf@turtle.gmx.de> X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 9600 Cc: eliz@gnu.org, 9600@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: rms@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) Richard may have a Debian-patched GDB which complains if the .gdbinit file is world writable. If this is a Debian patch, maybe that explains things. I probably did something to make .gdbinit read-only that worked with CVS but not with BZR. Would it work for me to make my copy of .gdbinit read-only but continue updating it with bzr? Can bzr handle that? -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use free telephony http://directory.fsf.org/category/tel/ From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 25 23:00:41 2011 Received: (at 9600) by debbugs.gnu.org; 26 Sep 2011 03:00:41 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R81Qu-0003PC-Ox for submit@debbugs.gnu.org; Sun, 25 Sep 2011 23:00:40 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R81Qs-0003ML-D4 for 9600@debbugs.gnu.org; Sun, 25 Sep 2011 23:00:39 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LS400K0003BZ000@a-mtaout22.012.net.il> for 9600@debbugs.gnu.org; Mon, 26 Sep 2011 05:59:45 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.8.215]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LS400K5G0BJPYA0@a-mtaout22.012.net.il>; Mon, 26 Sep 2011 05:59:44 +0300 (IDT) Date: Mon, 26 Sep 2011 05:59:44 +0300 From: Eli Zaretskii Subject: Re: bug#9600: 24.0.50; .gdbinit does not run In-reply-to: X-012-Sender: halo1@inter.net.il To: rms@gnu.org Message-id: <83d3eo100v.fsf@gnu.org> References: <83hb401otl.fsf@gnu.org> <87mxds1nz8.fsf@turtle.gmx.de> X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 9600 Cc: 9600@debbugs.gnu.org, svenjoac@gmx.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > Date: Sun, 25 Sep 2011 21:00:36 -0400 > From: Richard Stallman > CC: eliz@gnu.org, 9600@debbugs.gnu.org > > Would it work for me to make my copy of .gdbinit read-only > but continue updating it with bzr? Can bzr handle that? 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. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 26 03:27:08 2011 Received: (at 9600) by debbugs.gnu.org; 26 Sep 2011 07:27:08 +0000 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 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 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 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#9600: 24.0.50; .gdbinit does not run References: <83hb401otl.fsf@gnu.org> <87mxds1nz8.fsf@turtle.gmx.de> <83d3eo100v.fsf@gnu.org> 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") Message-ID: <7sty7z3gth.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 9600 Cc: 9600@debbugs.gnu.org, rms@gnu.org, svenjoac@gmx.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 26 04:03:04 2011 Received: (at 9600) by debbugs.gnu.org; 26 Sep 2011 08:03:04 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R869X-0001tK-M7 for submit@debbugs.gnu.org; Mon, 26 Sep 2011 04:03:04 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R869V-0001sv-8c for 9600@debbugs.gnu.org; Mon, 26 Sep 2011 04:03:02 -0400 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R868h-0006fl-CJ; Mon, 26 Sep 2011 04:02:11 -0400 Date: Mon, 26 Sep 2011 04:02:11 -0400 Message-Id: From: Eli Zaretskii To: Glenn Morris In-reply-to: <7sty7z3gth.fsf@fencepost.gnu.org> (message from Glenn Morris on Mon, 26 Sep 2011 03:26:18 -0400) Subject: Re: bug#9600: 24.0.50; .gdbinit does not run References: <83hb401otl.fsf@gnu.org> <87mxds1nz8.fsf@turtle.gmx.de> <83d3eo100v.fsf@gnu.org> <7sty7z3gth.fsf@fencepost.gnu.org> X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 9600 Cc: 9600@debbugs.gnu.org, rms@gnu.org, svenjoac@gmx.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) > From: Glenn Morris > Cc: rms@gnu.org, 9600@debbugs.gnu.org, svenjoac@gmx.de > Date: Mon, 26 Sep 2011 03:26:18 -0400 > > AFAICS, rms still has not said what the permissions of his gdbinit file > were, beyond "writable". It seems this must mean "world-writable". Most probably, because this is what I have in my bzr branches. I guess that's because of umask, see below. > 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" Stock GDB does not reject such a .gdbinit. That was the gist of what I was saying. > This seems entirely reasonable to me It was sufficiently controversial at the time to not make it into the official GDB. > Since I hope that everyone building Emacs from source does not use > `umask 000' I do, FWIW. Don't ask me why, it's something I have in my .bash_login since about forever. > I don't think any Emacs changes are needed. No Emacs changes are needed in any case, since RMS can chmod the file, and bzr will not touch the write mode bits. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 26 04:14:27 2011 Received: (at 9600) by debbugs.gnu.org; 26 Sep 2011 08:14:27 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R86KZ-000297-4n for submit@debbugs.gnu.org; Mon, 26 Sep 2011 04:14:27 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R86KQ-00028v-Jz for 9600@debbugs.gnu.org; Mon, 26 Sep 2011 04:14:25 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R86Jh-0007CL-4k; Mon, 26 Sep 2011 04:13:33 -0400 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#9600: 24.0.50; .gdbinit does not run References: <83hb401otl.fsf@gnu.org> <87mxds1nz8.fsf@turtle.gmx.de> <83d3eo100v.fsf@gnu.org> <7sty7z3gth.fsf@fencepost.gnu.org> X-Spook: FSF Al-Qaeda industrial intelligence strategic BRLO AGT. X-Ran: #8{l+MzT5'*[hR-iQZI\gR%83{NXh/-%z-'xsQS2)%emfEuR(7I|]79wWwYlc5ZLGps/>b X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 26 Sep 2011 04:13:32 -0400 In-Reply-To: (Eli Zaretskii's message of "Mon, 26 Sep 2011 04:02:11 -0400") Message-ID: <8goby7vhzn.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 9600 Cc: 9600@debbugs.gnu.org, rms@gnu.org, svenjoac@gmx.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) Eli Zaretskii wrote: > No Emacs changes are needed in any case, since RMS can chmod the file, > and bzr will not touch the write mode bits. Right, but he was saying that if everyone had to do that, some other solution should be found. But I think trusting 'umask 000' folks like you and he are in the minority. ;) From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 26 06:43:15 2011 Received: (at 9600) by debbugs.gnu.org; 26 Sep 2011 10:43:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R88eY-0005ec-8I for submit@debbugs.gnu.org; Mon, 26 Sep 2011 06:43:15 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R88eV-0005eV-V4 for 9600@debbugs.gnu.org; Mon, 26 Sep 2011 06:43:12 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R88dn-0003Jp-2h; Mon, 26 Sep 2011 06:42:27 -0400 Date: Mon, 26 Sep 2011 06:42:27 -0400 Message-Id: Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: Glenn Morris In-reply-to: <7sty7z3gth.fsf@fencepost.gnu.org> (message from Glenn Morris on Mon, 26 Sep 2011 03:26:18 -0400) Subject: Re: bug#9600: 24.0.50; .gdbinit does not run References: <83hb401otl.fsf@gnu.org> <87mxds1nz8.fsf@turtle.gmx.de> <83d3eo100v.fsf@gnu.org> <7sty7z3gth.fsf@fencepost.gnu.org> X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 9600 Cc: eliz@gnu.org, 9600@debbugs.gnu.org, svenjoac@gmx.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: rms@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) 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. When the executable is world-writable, there is no reason at all why GDB should care whether .gdbinit is world-writable. But we can't implement that here. Just use a sensible umask when checking Emacs out from the repository. I think my choice of umask is totally sensible. Where did you get the idea it is not? -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use free telephony http://directory.fsf.org/category/tel/ From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 26 07:17:29 2011 Received: (at 9600) by debbugs.gnu.org; 26 Sep 2011 11:17:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R89Bh-0006QN-97 for submit@debbugs.gnu.org; Mon, 26 Sep 2011 07:17:29 -0400 Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R89Bf-0006QG-4j for 9600@debbugs.gnu.org; Mon, 26 Sep 2011 07:17:28 -0400 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 6A0611C02BA4; Mon, 26 Sep 2011 13:16:43 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 1FC5D1C000A7; Mon, 26 Sep 2011 13:16:43 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id lhTxsSzi+LhM; Mon, 26 Sep 2011 13:16:42 +0200 (CEST) Received: from hase.home (ppp-93-104-134-144.dynamic.mnet-online.de [93.104.134.144]) by mail.mnet-online.de (Postfix) with ESMTP; Mon, 26 Sep 2011 13:16:41 +0200 (CEST) From: Andreas Schwab To: Glenn Morris Subject: Re: bug#9600: 24.0.50; .gdbinit does not run References: <83hb401otl.fsf@gnu.org> <87mxds1nz8.fsf@turtle.gmx.de> <83d3eo100v.fsf@gnu.org> <7sty7z3gth.fsf@fencepost.gnu.org> X-Yow: We place two copies of PEOPLE magazine in a DARK, HUMID mobile home. 45 minutes later CYNDI LAUPER emerges wearing a BIRD CAGE on her head! Date: Mon, 26 Sep 2011 13:16:41 +0200 In-Reply-To: <7sty7z3gth.fsf@fencepost.gnu.org> (Glenn Morris's message of "Mon, 26 Sep 2011 03:26:18 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 9600 Cc: Eli Zaretskii , 9600@debbugs.gnu.org, rms@gnu.org, svenjoac@gmx.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Glenn Morris writes: > 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]. That really should only be checking write bits outside of the current umask. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 26 12:31:42 2011 Received: (at 9600) by debbugs.gnu.org; 26 Sep 2011 16:31:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8E5l-0006mD-Fs for submit@debbugs.gnu.org; Mon, 26 Sep 2011 12:31:42 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8E5j-0006m3-FN; Mon, 26 Sep 2011 12:31:40 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R8E4x-0003lT-Fu; Mon, 26 Sep 2011 12:30:51 -0400 From: Glenn Morris To: rms@gnu.org Subject: Re: bug#9600: 24.0.50; .gdbinit does not run References: <83hb401otl.fsf@gnu.org> <87mxds1nz8.fsf@turtle.gmx.de> <83d3eo100v.fsf@gnu.org> <7sty7z3gth.fsf@fencepost.gnu.org> X-Spook: Tony Blair Defcon constitution Iran covert video Soviet X-Ran: uAHL2&)t$-nE|hZ_6i;fPW)#iw[Fu&l#fa$M5-SJ>v`TM)@=v)GN\wiMe$a|2J1Xe#9g-& X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 26 Sep 2011 12:30:51 -0400 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 9600 Cc: eliz@gnu.org, 9600@debbugs.gnu.org, svenjoac@gmx.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) close 9600 stop Richard Stallman wrote: > But we can't implement that here. No, I don't think Emacs should do anything to work around gdb security features, so I am closing this report. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 26 12:36:04 2011 Received: (at 9600) by debbugs.gnu.org; 26 Sep 2011 16:36:04 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8EA0-0006tr-7Y for submit@debbugs.gnu.org; Mon, 26 Sep 2011 12:36:04 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8E9y-0006tZ-5O for 9600@debbugs.gnu.org; Mon, 26 Sep 2011 12:36:03 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R8E9E-0005zV-HX; Mon, 26 Sep 2011 12:35:16 -0400 From: Glenn Morris To: rms@gnu.org Subject: Re: bug#9600: 24.0.50; .gdbinit does not run References: <83hb401otl.fsf@gnu.org> <87mxds1nz8.fsf@turtle.gmx.de> <83d3eo100v.fsf@gnu.org> <7sty7z3gth.fsf@fencepost.gnu.org> X-Spook: Craig Livingstone 22nd SAS Mantis Mossad encryption X-Ran: S/FZ>B~bRu^WaO^,o*l-yp%7+WQ}`?DSdJA^'6#aZwJ>DL({[?}9M1{^-aLa]Y-R|fo"Ol X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 26 Sep 2011 12:35:16 -0400 In-Reply-To: (Richard Stallman's message of "Mon, 26 Sep 2011 06:42:27 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 9600 Cc: eliz@gnu.org, 9600@debbugs.gnu.org, svenjoac@gmx.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) Richard Stallman wrote: > Just use a sensible umask when checking Emacs out from the repository. > > I think my choice of umask is totally sensible. Where did you get > the idea it is not? This is off-topic for Emacs, but let me rephrase that to say that you have an uncommon setting of umask. For example, I do not know of any distribution that has such a mask by default for user accounts. So people who have given themselves such a umask presumably know what they are doing and how to deal with any file permission issues that may occur as a result. (For example, you may also have problems with ~/.ssh files.) From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 26 17:14:20 2011 Received: (at 9600) by debbugs.gnu.org; 26 Sep 2011 21:14:20 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8IVG-00007U-UM for submit@debbugs.gnu.org; Mon, 26 Sep 2011 17:14:19 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8IVE-00007N-N3 for 9600@debbugs.gnu.org; Mon, 26 Sep 2011 17:14:17 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R8IUR-0000OZ-JS; Mon, 26 Sep 2011 17:13:27 -0400 Date: Mon, 26 Sep 2011 17:13:27 -0400 Message-Id: Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: Glenn Morris In-reply-to: (message from Glenn Morris on Mon, 26 Sep 2011 12:35:16 -0400) Subject: Re: bug#9600: 24.0.50; .gdbinit does not run References: <83hb401otl.fsf@gnu.org> <87mxds1nz8.fsf@turtle.gmx.de> <83d3eo100v.fsf@gnu.org> <7sty7z3gth.fsf@fencepost.gnu.org> X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 9600 Cc: eliz@gnu.org, 9600@debbugs.gnu.org, svenjoac@gmx.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: rms@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) This is off-topic for Emacs, but let me rephrase that to say that you have an uncommon setting of umask. For example, I do not know of any distribution that has such a mask by default for user accounts. So people who have given themselves such a umask presumably know what they are doing and how to deal with any file permission issues that may occur as a result. As a general point, there is no reason Emacs should not help users work around problems they may encounter, even just a few users. But I agree there is no need in this case. The crucial point is knowing that bzr can cope with making the file read-only. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use free telephony http://directory.fsf.org/category/tel/ From unknown Mon Aug 18 14:14:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 25 Oct 2011 11:24:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator