Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Oct 1999 16:28:11 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        Michael Rothenberg <rothenberg@automationonline.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Permissions for users in general 
Message-ID:  <26526.940948091@axl.noc.iafrica.com>
In-Reply-To: Your message of "Tue, 26 Oct 1999 09:30:38 -0400." <3.0.3.32.19991026093038.007274e8@slider> 

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 26 Oct 1999 09:30:38 -0400, Michael Rothenberg wrote:

> vi gave me the message: Permission denied: Modifications not
> recoveralble if session fails.

It's probably having trouble creating a recovery file, which is useful
if your system dies while you're messing around with a file. You
should check the permissions of your /tmp and /var/tmp/vi.recover
directories. The default is sticky world writable, owned by
root:wheel. You can "make it so" with these commands:

	chown root:wheel /tmp /var/tmp/vi.recover
	chmod 01777 /tmp /var/tmp/vi.recover

Ciao,
Sheldon.


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?26526.940948091>