Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: gwolf [...] debian.org
Cc:
AdminCc:

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



Subject: With filesystem ACLS,write access to a folder is not recognized
We got a report against the Debian package for Mail::Box - please refer to the discussion at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=321076 Basically: Mail::Box tests for write access with '-w' - This is often enough, but on some filesystems it will just not work. Niko Tyni reports that if we use the "use filetest 'access'" pragma, -w will use access instead of stat, and work correctly in ACLed environments - My only question right now is if this is portable to non-Unix platforms. I am including this fix in our version - please consider including it in the main distribution.
The requested upgrade of the access checks to use filetest is valid. I think it will benefit other users as well. Probably, it will be a null-op in other than UNIX environments... will be included in the next release. Besides, I looked at the patch you provide for MailBox on Debian. The current release (2.063) has the new feature that environment variables can be used to overrule interactive installation questions. Set MAILBOX_INSTALL_OPTIONALS and MAILBOX_RUN_TESTS both to "no" before "perl Makefile.PL" is run to disable all interactive behavior.
Show quoted text
> The requested upgrade of the access checks to use filetest is valid. > I > think it will benefit other users as well. Probably, it will be a > null-op in other than UNIX environments... will be included in the > next > release.
Great, thanks! Show quoted text
> Besides, I looked at the patch you provide for MailBox on Debian. The > current release (2.063) has the new feature that environment variables > can be used to overrule interactive installation questions. Set > MAILBOX_INSTALL_OPTIONALS and MAILBOX_RUN_TESTS both to "no" before > "perl Makefile.PL" is run to disable all interactive behavior.
Hmmm... This lacks a bit of granularity - Could you separate the MAILBOX_INSTALL_OPTIONALS in three variables (following the three questions you ask)? Up until now, I was omitting them all, but I think I would like to enable some.
Gah... Replying to a bug marks it again as open? Sorry... Please, go ahead and re-close it.