On iOS, Appium creates temp files because instruments needs too. I’m not sure on Android, maybe adb needs a log output?
For resolution, could you use the ‘–tmp’ flag on the server to store the temp files someplace the Jenkins user has write access too? For example, their home directory: --tmp ‘/Users/Jenkins’, if that exists.