Bugtraq mailing list archives

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


From: Aaron Drew <ripper () HOTKEY NET AU>
Date: Tue, 19 Dec 2000 08:11:16 +1100

I wouldn't envisage a kernel patch to give each tty or user its own virtual
/tmp being be THAT hard to do.

The physical structure might be /tmp with a heap of subdirectories under it
whereas the user would just see 'tmp'. This also has an advantage in that it
could be cleaned up periodically when the user/tty is not being used
anymore. Cleaning up might break some app's though I suppose.

Aaron

-----Original Message-----
From: Bugtraq List [mailto:BUGTRAQ () SECURITYFOCUS COM]On Behalf Of Valdis
Kletnieks
Sent: Saturday, December 16, 2000 7:26 AM
To: BUGTRAQ () SECURITYFOCUS COM
Subject: Re: where user temp files should go, env var names


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




Current thread: