Thanks for the response though I donβt agree. I have used it before not with netlify though. Probably a custom AWS lambda implementation here.
See the docs:
Q: What if I need scratch space on disk for my AWS Lambda function?
Each Lambda function receives 500MB of non-persistent disk space in its own /tmp directory.
Yes, the /tmp folder is accessible. But it is non-persistent. As @luke mentioned, there is no persistent filesystem on functions deployed through Netlify. The FAQ you quoted confirms that the 500MB is non-persistent.
Hi, @omarsotillo, you are right. The /tmp is read/write and I was wrong about that.
I also noticed that the error message mentions not being able to write to /home/sbx_user1051. The /home directory is read-only. Have you tried writing to /tmp instead?