Runtime errors due to failure to create temp folder

I was helping a user who was not able to run certain functionality, and in the end it boiled down to failure to access the temp folder. This was with the latest nightly.

Looking at the critical errors in the error log (see below), I see that the application failed to create folders in /tmp/folders, so I changed the permissions on that folder to allow everyone access, and then the images loaded without error.

Should there be some extra check added to tell users if permissions are incompatible? Otherwise, it is not possible to figure this out without looking at the log, and beginner users will never think to look into it. In this particular case, the manifestation of the problem was failure to load a DICOM series with a plugin that did conversion and needed access to temp folder.

Yes, it would be good to fix this. I think this soft of issue crops up on macs when the user settings are migrated from one machine to another, or maybe also on OS upgrades.

issue submitted https://issues.slicer.org/view.php?id=4652