From owner-freebsd-questions Sat Nov 17 15: 3:26 2001 Delivered-To: freebsd-questions@freebsd.org Received: from deimos.atltechgroup.com (deimos.atltechgroup.com [208.177.210.74]) by hub.freebsd.org (Postfix) with ESMTP id 141BF37B418 for ; Sat, 17 Nov 2001 15:03:24 -0800 (PST) Received: from [(hidden)] by deimos.atltechgroup.com for freebsd-questions@freebsd.org id SAA18055; Sat Nov 17 18:03:23 2001 Message-Id: <4.3.2.7.2.20011117175434.00b14b50@atltechgroup.com> X-Sender: sreber@atltechgroup.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Sat, 17 Nov 2001 18:03:06 -0500 Subject: vi - permission denied error Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed To: freebsd-questions@freebsd.org From: Scott Reber Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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