[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: proposal: per-user temporary directories on by default?

On Wed, Jul 23, 2003 at 02:09:28PM +1000, Martin Pool wrote:
> There is already a PAM modules, libpam-tmpdir which automatically sets
> this up on login by creating a per-user directory under /tmp and
> pointing TMPDIR at it.  Despite the scary low version number of 0.04
> it seems to work reliably and presumably any bugs could be fixed.

Nice idea, wrong implementation.  Let login fork the login shell with
CLONE_NEWNS and do a VFS-binding from ~/tmp to /tmp.

Reply to: