Using Path.GetTempPath() causes conflicts in shared temporary folders
Bug #719187 reported by
David Schmitt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NUnit Framework |
Fix Released
|
High
|
Charlie Poole |
Bug Description
Mono uses /tmp as base directory for temporary paths. This can cause collisions for multiple users using nunit on the same machine (e.g local developer and CI system). This can be mitigated by using a random base path (also reducing the possibility for /tmp race attacks) or just documenting the problem when it occurs and suggesting to use the TMP environment variable when running under linux
Related branches
Changed in nunit-3.0: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
See http:// stackoverflow. com/q/16656/ 4918 for creating randomized directories