[18153] in bugtraq
Re: where user temp files should go, env var names
daemon@ATHENA.MIT.EDU (Aaron Drew)
Mon Dec 18 23:30:52 2000
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <NDBBJMGGKLJKPJIAHJDLCEKJCGAA.ripper@hotkey.net.au>
Date: Tue, 19 Dec 2000 08:11:16 +1100
Reply-To: Aaron Drew <ripper@HOTKEY.NET.AU>
From: Aaron Drew <ripper@HOTKEY.NET.AU>
To: BUGTRAQ@SECURITYFOCUS.COM
In-Reply-To: <200012152026.eBFKQLCW226150@black-ice.cc.vt.edu>
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
>
>