From: guenther@stolaf.edu (Philip A Guenther) Subject: Re: /tmp problem Date: 24 Oct 1992 16:33:05 GMT
In article <BwLuuC.B22@fc.hp.com> rwp@fc.hp.com (Bob Proulx) writes:
Kamal Foudil-Bey (foudil@npac.syr.edu) wrote:
> I added a user to my system to avoid working as root.
> Everything is fine except for the fact that when I use
> "vi" I get a message "/tmp file does not exist". What do
> I have to do to solve that?
You probably have the permissions on /tmp messed up.
chmod 777 /tmp
chmod 777 /usr/tmp
Make that
chmod 1777 /tmp
chmod 1777 /usr/tmp
This turns the sticky bit on which keeps you from overwriting or erase
someone else's file unless you are root. Of course, if you are the
only 'real' user this probably doesn't matter much...
Philip Guenther