Skip Menu |

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

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

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

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



Subject: No way to specify default permissions
I have a situation where several build processes, each running as their own user within the same group, want to share a cache file. By default cache files are created with the hardcoded permissions of 0640 (see https://metacpan.org/source/ROBM/Cache-FastMmap-1.40/unix.c#L57 ) The different build processes cannot write to the cache because they do not have write permission. I would like a way to control the permissions of the created file.
Although it's awfully late, I'm about to push a commit to fix this to github.