Date: Sat, 17 Nov 2001 18:36:28 -0800 From: "Crist J. Clark" <cristjc@earthlink.net> To: Scott Reber <sreber@atltechgroup.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: vi - permission denied error Message-ID: <20011117183628.L63067@blossom.cjclark.org> In-Reply-To: <4.3.2.7.2.20011117175434.00b14b50@atltechgroup.com>; from sreber@atltechgroup.com on Sat, Nov 17, 2001 at 06:03:06PM -0500 References: <4.3.2.7.2.20011117175434.00b14b50@atltechgroup.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 17, 2001 at 06:03:06PM -0500, Scott Reber wrote:
> I am installing a new FreeBsd machine. 4.4 Release.
> When I attempt to edit a file as a non-root user in that non-root's home
> directory I get the following:
>
> tethys|~$ vi .bash_profile
> ex/vi: Error: /var/tmp/vi.recover: Permission denied
> ex/vi: Modifications not recoverable if the session fails
> ex/vi: Error: .bash_profile: Permission denied
> ex/vi: Error: Unable to create temporary file: Permission denied
>
> Editing as root works as expected. What have I done wrong?
Check permissions on /tmp or TMPDIR (why it fails) and
/var/tmp/vi.recover (why you get the first warning).
--
Crist J. Clark | cjclark@alum.mit.edu
| cjclark@jhu.edu
http://people.freebsd.org/~cjc/ | cjc@freebsd.org
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011117183628.L63067>
