1. Try /tmp 2. If it doesn't have enough permissions, try $XDG_CACHE_HOME 3. If that also doesn't have enough permissions then exit and display a message describing the problem and how to fix it.