Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Nov 2001 18:03:06 -0500
From:      Scott Reber <sreber@atltechgroup.com>
To:        freebsd-questions@freebsd.org
Subject:   vi - permission denied error
Message-ID:  <4.3.2.7.2.20011117175434.00b14b50@atltechgroup.com>

next in thread | raw e-mail | index | archive | help
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?

Other info:

tethys|~$ uname -a
FreeBSD tethys.wanlanservices.net 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Fri 
Nov 16 22:06:23 EST 
2001     root@tethys.wanlanservices.net:/usr/obj/usr/src/sys/TETHYS  i386

tethys|~$ ls -al
total 15
drwxr-xr-x  4 admin  wheel   512 Nov 17 17:21 .
drwxr-xr-x  3 root   wheel   512 Nov 16 11:17 ..
-rw-------  1 admin  wheel  1461 Nov 17 17:21 .bash_history
-rwxr-xr-x  1 admin  wheel   918 Nov 16 23:18 .bash_profile
-rw-r--r--  1 admin  wheel   771 Nov 16 11:17 .cshrc
-rw-r--r--  1 admin  wheel   255 Nov 16 11:17 .login
-rw-r--r--  1 admin  wheel   160 Nov 16 11:17 .login_conf
-rw-------  1 admin  wheel   371 Nov 16 11:17 .mail_aliases
-rw-r--r--  1 admin  wheel   331 Nov 16 11:17 .mailrc
-rw-r--r--  1 admin  wheel   789 Nov 16 11:17 .profile
-rw-------  1 admin  wheel   276 Nov 16 11:17 .rhosts
-rw-r--r--  1 admin  wheel   852 Nov 16 11:17 .shrc
drwxr-xr-x  2 admin  wheel   512 Nov 16 18:24 .ssh

___________________________________________________________
Scott Reber                                   voice:  770 977-7044
AtLANta TEChnical Group, Inc.       fax:     770 973-8955
sreber@atltechgroup.com


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?4.3.2.7.2.20011117175434.00b14b50>