Warn user if tempdir can't be reset.

Linux the tempdir cannot be removed if it is owned by a different user than the current user. Now this is caught and an alert describing the situation is shown.