Hi Sergey,

Can you comment on this bug against MH that was reported in the BTS?

Thanks!
Jordi
-- 
Jordi Mallach Pérez  --  Debian developer     http://www.debian.org/
[email protected]     [email protected]     http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/
--- Begin Message ---
Package: mailutils-mh
Version: 1:2.2+dfsg1-3+b1

        The mhn command fails to access a read-only folder, e. g.:

$ which mhn 
/usr/bin/mailutils-mh
$ mhn +foo 12345 
$ echo $? 
0
$ 

        Running mhn under strace(1) reveals that it tries,
        unsuccessfully, to open(2) ~/Mail/foo/12345 with O_RDWR.
        Arguably, it should've used O_RDONLY instead.

        The scan command produces a list devoid of any information for
        this folder, except for the message numbers.

        Also, for no reason obvious to me, both commands try to access
        ~/Mail/foo/10000 (which is the first message in the folder) just
        as well.

        The operation on read-only folders is a generic prerequisite of
        accessing shared mail folders (such as, e. g., mailing list or
        newsgroup archives.)

-- 
FSF associate member #7257


--- End Message ---

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Bug-mailutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to