Description
When building the SDK on Linux, it creates a /tmp/.aws directory (I assume the equivalent happens on Windows as well)... I'm guessing this is happening when the unittests are run and is used as a dumping ground to put some temporary credentials in. The problem is that this directory is left hanging after the build, so if another user on the system goes to build the SDK later, they get a failure related to not having permissions to this directory. Even if we took care to change our umask across the board, you could end up with possible collisions if multiple users happened to be building at the same time.
I would suggest changing this to create a unique directory in /tmp each time, using a UUID or equivalent. Or at a minimum, name the directory based on the username, though you could still get unlucky with collisions there too depending on user behavior.