Bugtraq mailing list archives

Re: where user temp files should go, env var names


From: Valdis Kletnieks <Valdis.Kletnieks () VT EDU>
Date: Fri, 15 Dec 2000 15:26:21 -0500

On Thu, 14 Dec 2000 17:12:08 +0100, Andrzej Chabierski <outsider () LANGUSTA STARNET PL>  said:
-        "/tmp",
+        (*myhomedir()) ? myhomedir() : "/tmp",

This of course leads to interesting failure modes if the reader of the mail
has a home directory that he doesn't have write permission to, or isn't
mounted at the moment, or similar.

Hint: How do you use Pine to send the sysadmin a "Help! /home didn't fsck
right after the reboot" message in this scenario? ;)
--
                                Valdis Kletnieks
                                Operating Systems Analyst
                                Virginia Tech

Attachment: _bin
Description:


Current thread: