bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9600: 24.0.50; .gdbinit does not run


From: Glenn Morris
Subject: bug#9600: 24.0.50; .gdbinit does not run
Date: Mon, 26 Sep 2011 03:26:18 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]