From owner-freebsd-questions Fri Aug 23 15:35:10 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 697D637B400 for ; Fri, 23 Aug 2002 15:35:06 -0700 (PDT) Received: from mail.urchin.com (ns2.quantified.com [63.212.171.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 154ED43E65 for ; Fri, 23 Aug 2002 15:35:06 -0700 (PDT) (envelope-from dsilver@urchin.com) Received: from danzig.sd.quantified.net (web.quantified.com [63.212.171.5]) by mail.urchin.com (8.12.1/8.12.1) with ESMTP id g7NMapkA070407; Fri, 23 Aug 2002 15:36:29 -0700 (PDT) (envelope-from dsilver@urchin.com) Date: Fri, 23 Aug 2002 15:35:04 -0700 (PDT) From: Doug Silver X-Sender: dsilver@danzig.sd.quantified.net To: Bsd Neophyte Cc: freebsd-questions@FreeBSD.ORG Subject: Re: vi errors... unable to edit my .shrc file In-Reply-To: <20020823221943.389.qmail@web20107.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Filter-Version: 1.7 (mail.urchin.com) 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 On Fri, 23 Aug 2002, Bsd Neophyte wrote: > > i get the following error when trying to edit my .shrc file: > > ------------------- > $ vi .shrc > ex/vi: Error: /var/tmp/vi.recover: Permission denied > ex/vi: Modifications not recoverable if the session fails > ex/vi: Error: .shrc: Permission denied > ex/vi: Error: Unable to create temporary file: Permission denied > ------------------- > > does this have anything to do with the fact i don't have var and tmp > slices? i used the method in greg lehey's book in creating symbolic links > instead of having hard partitions. > > i tried looking in the archives for a solution, but i didn't find > anything. > > as always, any and all help will be greatly appreciated. > > -Sameer > Make sure the symlinks from /var/tmp are correct and the permissions are like this: drwxrwxrwt 3 root wheel 512 Aug 23 15:31 tmp/ If not, do a "chmod 1777 /var/tmp" (for example) to fix it. /var/tmp/vi.recover should have the same permissions too. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Doug Silver 619 235-2665 Network Manager Urchin Software Corp. http://www.urchin.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message