Currently when a user runs piglit mako temp files are put in the OS appropriate location. On Linux, this is /tmp/piglit. The problem is that these files are owned by that user and unusable by a second user. This works out fine for most use cases, but not for the case of a shared piglit slave with multiple users.
This patch fixes the issue by creating a piglit-$(username) folder to put the mako files in. For most users this will be transparent and have no effect on them.
bd733f1 summary.py: Make mako temporary directory user unique
framework/summary.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Upstream: cgit.freedesktop.org