James Carlson wrote:
> Casper.Dik at Sun.COM writes:
>> Unfortunately the use of TMPDIR is inherited across "su" and
>> then, when users assume roles, TMPDIR no longer works.
> 
> That point would seem to be a show-stopper to me.  Having an RBAC role
> fail to work because $TMPDIR is now set (when it wasn't before) and
> owned by the original user would be an incompatible change and clearly
> a Bad Thing.
> 
> I've been staying out of this particular issue until now, as I could
> see both sides of it.  But it looks now like the weight of evidence is
> against the proposal: not just RBAC damage, but also unnecessary
> *extra* clutter in /tmp (due to the one-per-user directories, even if
> no temp files are used), but also the fact that admins can already set

On a system with more than one user who uses GNOME you will actually 
reduce the number of directories in /tmp if $TMPDIR is /tmp/$LOGNAME 
rather than increase them.

-- 
Darren J Moffat


Reply via email to