#3934: mutt erroneously reports "<mailbox file> is not a mailbox." when no read
permission
---------------------+----------------------
Reporter: muttrac | Owner: mutt-dev
Type: defect | Status: new
Priority: minor | Milestone:
Component: mutt | Version: 1.8.2
Keywords: |
---------------------+----------------------
mutt 1.8.2, and the latest snapshot, incorrectly report "<mailbox file> is
not a mailbox." when there is no read permission on <mailbox file>. mutt
1.6.2 correctly reports "<mailbox file>: Permission denied (errno = 13)".
Problem appears to be in mx_open_mailbox(), in mx.c, and is present in
mutt built on SCO OSR6 and ubuntu 12.04.5 LTS.
To reproduce:
mutt -f <any mailbox with no read permission>
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3934>
Mutt <http://www.mutt.org/>
The Mutt mail user agent