Skip Menu |

This queue is for tickets about the Cache-FastMmap CPAN distribution.

Report information
The Basics
Id: 26951
Status: resolved
Priority: 0/
Queue: Cache-FastMmap

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.14
Fixed in: (no value)



Subject: Using predictable filename in /tmp
t/1....Unlink of existing share file /tmp/sharefile failed: Operation not permitted at /home/sand/.cpan/build/Cache-FastMmap-1.14-nXOw2s/blib/lib/Cache/FastMmap.pm line 496. Using predictable filenames in /tmp has some security implications too, so should be avoided. In this case it simply causes the test to fail because another user has occupied this file or directory.
I've released 1.15 which by default uses a sharefile of: /tmp/sharefile.$pid.$time Which should be unique in most cases, and definitely avoid this problem in the common case.