From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11666 invoked by alias); 2 Jul 2014 20:12:36 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 11651 invoked by uid 89); 2 Jul 2014 20:12:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-oa0-f48.google.com Received: from mail-oa0-f48.google.com (HELO mail-oa0-f48.google.com) (209.85.219.48) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 02 Jul 2014 20:12:32 +0000 Received: by mail-oa0-f48.google.com with SMTP id m1so12837150oag.35 for ; Wed, 02 Jul 2014 13:12:30 -0700 (PDT) X-Received: by 10.182.143.37 with SMTP id sb5mr151097obb.76.1404331950547; Wed, 02 Jul 2014 13:12:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.66.116 with HTTP; Wed, 2 Jul 2014 13:12:10 -0700 (PDT) In-Reply-To: <8338ej4y25.fsf@gnu.org> References: <83egy53wuy.fsf@gnu.org> <8338ej4y25.fsf@gnu.org> From: Aleksey Midenkov Date: Wed, 02 Jul 2014 20:12:00 -0000 Message-ID: Subject: Re: warning: not using untrusted file To: Eli Zaretskii Cc: gdb@sourceware.org Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2014-07/txt/msg00006.txt.bz2 On Wed, Jul 2, 2014 at 6:47 PM, Eli Zaretskii wrote: > > > From: Aleksey Midenkov > > Date: Wed, 2 Jul 2014 12:21:41 +0400 > > Cc: gdb@sourceware.org > > > > > See the node "Auto-loading safe path" in the GDB manual. > > > > It doesn't work. > > > > # gdb > > > > warning: not using untrusted file "/home/midenok/.gdbinit" > > (gdb) show auto-load safe-path > > List of directories from which it is safe to auto-load files is /home/*. > > (gdb) > > > > I also tried other variants: > > /home/midenok > > /home/midenok/ > > /home/midenok/.gdbinit > > > > Nothing works! > > What does "ls -l" say about /home/midenok/.gdbinit? Yes, it was symlink to another location. Replacing symlink with actual file did helped. Thanks!