bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-mailutils] address@hidden: Bug#644267: fails to access a read-only


From: Jordi Mallach
Subject: [bug-mailutils] address@hidden: Bug#644267: fails to access a read-only folder]
Date: Wed, 5 Oct 2011 20:06:14 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

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/
address@hidden     address@hidden     http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/
--- Begin Message --- Subject: Bug#644267: fails to access a read-only folder Date: Tue, 04 Oct 2011 22:19:59 +0700 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)
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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]