Date: Fri, 23 Aug 2002 15:35:04 -0700 (PDT) From: Doug Silver <dsilver@urchin.com> To: Bsd Neophyte <bsdneophyte@yahoo.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: vi errors... unable to edit my .shrc file Message-ID: <Pine.LNX.4.21.0208231528200.31907-100000@danzig.sd.quantified.net> In-Reply-To: <20020823221943.389.qmail@web20107.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0208231528200.31907-100000>