Question: where is tmp directory now

4 posts by 2 authors in: Forums > CMS Builder
Last Post: 6 hours ago   (RSS)

We used to be able to set the tmp directory instead of using /tmp, but I can't find the setting. A couple of weeks ago, I was being hammered by several bots that filled my /tmp directory, which caused CMSB access to stop with the error message "/tmp is full".

This affected every site on the server running CMSB. When we could change it, I had tmpDir set to USERHOME/tmp. If that were still in effect, then CMSB apps would not have been impacted.

I have solved the bot problem, but I'm curious about the old setting. It appears the data/temp is not used in all cases, and /tmp is still being accessed. 

Jeff Shields
yaadev.com

Hi Jeff, 

We try not to write to the /tmp system folder because we can't control issues such as security, disk space, and visibility.  Or even if it exists or is writable.

Do you know what kind of files were getting written and which code created them? 

Dave Edis - Senior Developer
interactivetools.com

Oh okay.  No worries.  Let us know if anything comes up that you want us to look into further. 

Thanks!

Dave Edis - Senior Developer
interactivetools.com