NetBSD Problem Report #49205
From kefren@rpi.localdomain Tue Sep 16 08:37:51 2014
Return-Path: <kefren@rpi.localdomain>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 89D34CE16E
for <gnats-bugs@gnats.NetBSD.org>; Tue, 16 Sep 2014 08:37:51 +0000 (UTC)
Message-Id: <20140916075403.517DFF2323@rpi.localdomain>
Date: Tue, 16 Sep 2014 10:54:03 +0300 (EEST)
From: kefren@rpi.localdomain
Reply-To: kefren@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: vi ignores ~/.[n]exrc in some circumstances
X-Send-Pr-Version: 3.95
>Number: 49205
>Category: bin
>Synopsis: vi ignores ~/.[n]exrc if [N]EXINIT set
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 16 08:40:00 +0000 2014
>Originator: kefren@netbsd.org
>Release: NetBSD 7.0_BETA
>Organization:
none
>Environment:
System: NetBSD rpi 7.0_BETA NetBSD 7.0_BETA (RPI.kefrenSD0) #1: Wed Sep 3 18:42:21 EEST 2014 kefren@stargate.girsa.ro:/data/work/kefren/netbsd-7/src/sys/arch/evbarm/compile/obj/RPI.kefrenSD0 evbarm
Architecture: earmhf
Machine: evbarm
>Description:
nvi ignores ~/.[n]exrc files in certain undocumented conditions:
* /etc/vi.exrc not owned by root
* /etc/vi.exrc parsed with errors
* NEXINIT or EXINIT set in environment
* ~/.[n]exrc file not owned by current euid, or writable by group or
others
While most of the cases alert the user, the [N]EXINIT env case doesn't.
Don't know if current nvi does the right thing in all the above cases but
vi manpage should document this behaviour - especially the silent ignoring
case.
>How-To-Repeat:
>Fix:
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.