Skip Menu |

This queue is for tickets about the Mail-Box CPAN distribution.

Report information
The Basics
Id: 11271
Status: resolved
Priority: 0/
Queue: Mail-Box

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

Bug Information
Severity: Normal
Broken in: 2.059
Fixed in: (no value)



Subject: Mail::Box::Locker::DotLock::lock hangs
Naively calling my $mbox = Mail::Box::Mbox->new(folder => $mboxfile); happens to hang the script. The problem is that I'm calling the script as a non-privileged user, and Mail::Box::MBox tries to create a lockfile in the /var/mail directory, but is not allowed to, and tries it again and again. Maybe Mail::Box::Locker::DotLock::_try_lock should check if trying to create the dotlock file leads to an EACCES error and dies in this case? Regards, Slaven
Solved in v2.065