I have been having a problem on one of the websites on production, when Drupal writes on tmp, it randomly stops working.
Temporary file data could not be written
even tho the permissions are set correctly, and there is enough space. The tmp folder was manually set inside ‘DRUPAL_ROOT/sites/default/files/tmp‘. The weird thing is removing the content of the tmp folder solves the problem, but it came back again, so I removed the content again and started working again, I’m not exactly sure why it happens and I can’t debug the reason, any thoughts?