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


Message #35 received at 9600 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 9600 <at> debbugs.gnu.org, rms <at> gnu.org,
	svenjoac <at> gmx.de
Subject: Re: bug#9600: 24.0.50; .gdbinit does not run
Date: Mon, 26 Sep 2011 13:16:41 +0200
Glenn Morris <rgm <at> gnu.org> 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 <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




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.