GNU bug report logs - #9600
some gdbs ignore a world-writable .gdbinit

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Sun, 25 Sep 2011 17:36:03 UTC

Severity: minor

Tags: notabug, wontfix

Found in version 24.0.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Richard Stallman <rms <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: eliz <at> gnu.org, 9600 <at> debbugs.gnu.org, svenjoac <at> gmx.de
Subject: bug#9600: 24.0.50; .gdbinit does not run
Date: Mon, 26 Sep 2011 06:42:27 -0400
    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/




This bug report was last modified 13 years and 301 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.