I have a couple of scripts that I'm looking to tidy up a bit and I've noticed that with El Capitan's release Apple isn't super fond of folks adding folders where the user doesn't normally have access to. Currently, I'll drop files into /private/var/tmp/[FolderName] for a script to use.
This is mostly when a piece of software doesn't play nice with Composer so I'll drop the pkg installer into a folder in tmp and run command line against the installer. It works great but are there any better locations or suggestions that you guys might have? Not so much on the process flow but rather where I could/should drop my temp files.