Subject: Bug#3189: nvi over-cautious about .exrc?

From: Dave Holland <[email-masked]>
Date: Sun, 2 Jun 1996 22:39:55 +0100 (BST)

Package: nvi
Version: 1.34-7

I'm not sure if this is a "real" bug or just an unavoidable clash of
policies. All comments welcome.

On a system which is set up so that each user has their own group, it is
usual to have umask 002 so that files the user creates are group
writable. This can result in the following:

dave@chiark:~$ ls -l .exrc
-rw-rw-r--   1 dave     dave           32 Jun  2 22:38 .exrc
dave@chiark:~$ vi foo
[ vi (nvi) starts, giving the following error message ]
/u/dave/.exrc: not sourced: writeable by a user other than the owner.

This is clearly fixed by a quick chmod. But isn't nvi being a little
over-cautious here? vim has no such problem with my group-writable .exrc.

Regards,

Dave
--
Dave Holland   <[email-masked]>   http://zenda.chu.cam.ac.uk/