NetBSD Problem Report #1462
From gnats Thu Sep 14 16:27:38 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.pc.cs.cmu.edu (8.6.11/8.6.10) with ESMTP id QAA08998 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Thu, 14 Sep 1995 16:27:37 -0400
Message-Id: <199509142018.QAA29713@pain.lcs.mit.edu>
Date: Thu, 14 Sep 95 16:18:05 EDT
From: davide@cs.cmu.edu
Sender: davide@PIPER.NECTAR.CS.CMU.EDU
Reply-To: davide@cs.cmu.edu
To: gnats-bugs@NetBSD.ORG
Cc: davide@cs.cmu.edu
Subject: vi uninformative if /tmp not writable
X-Send-Pr-Version: 3.2
>Number: 1462
>Category: bin
>Synopsis: "vi foo.c" yields uninformative "log db: Permission denied."
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 14 16:35:01 +0000 1995
>Closed-Date: Tue May 21 11:38:38 +0000 1996
>Last-Modified: Tue May 21 11:39:57 +0000 1996
>Originator: David Eckhardt
>Release: NetBSD-0812
>Organization:
Carnegie Mellon University Computer Science
>Environment:
NetBSD 1.0A 8/12 snapshot for X86 machines
System: NetBSD piper.nectar.cs.cmu.edu 1.0A NetBSD 1.0A (IJET) #152: Sat Jul 15 14:38:58 EDT 1995 kosak@river:/usr/src/sys/arch/i386/compile/IJET i386
>Description:
vi gives an uninformative message if /tmp is not writable and you specify
a filename (if you say just "vi", you get a fine error message!).
>How-To-Repeat:
chown root.wheel /tmp
chmod 755 /tmp
"vi foo.c" -> "log db: Permission denied."
"vi" -> "Error: Temporary file: Permission denied."
>Fix:
Ideally vi would spit out the filename it was having trouble
creating, such as "create /tmp/ExNNNNNN: Permission denied.",
which would quickly make the problem apparent.
Also ideally, the installation procedure would make sure that
/tmp had a more reasonable mode...or did I make some simple
mistake?
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: mrg
State-Changed-When: Tue May 21 07:38:38 EDT 1996
State-Changed-Why:
this now gives:
ex/vi: Error: Unable to create temporary file: Permission denied
with nvi 1.66
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.