John Rice wrote:
Well we could create a unique tmp dir in /tmp and set HOME to that (/tmp/<unique_tmp_dir>) so it would be unique for that session, perhaps better than setting the HOME to /root, at least feels less dangerous :)

I'd consult Tom Mueller for the most multi-platform friendly way to do this, although tempfile.mkdtemp() seems reasonable.

Cheers,
--
Shawn Walker | [email protected] | blogs.sun.com/srw
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to