[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-mailutils] address@hidden: Bug#644267: fails to access a read-
From: |
Sergey Poznyakoff |
Subject: |
Re: [bug-mailutils] address@hidden: Bug#644267: fails to access a read-only folder] |
Date: |
Wed, 05 Oct 2011 22:18:53 +0300 |
Hola Jordi!
> Can you comment on this bug against MH that was reported in the BTS?
> $ mhn +foo 12345
[...]
> Running mhn under strace(1) reveals that it tries,
> unsuccessfully, to open(2) ~/Mail/foo/12345 with O_RDWR.
There's something wrong with that report. Invoking mhn like that
implies a compose mode, i.e. a mode in which mhn creates a new message.
It obviously needs to open the file RW in order to do so. Now what's
wrong is that in this case mhn would ignore the folder option (+foo) and
create the file in the current folder directory (the one set by the
Path keyword in .mh_profile), so the reported strace does not match
the invocation. It could be that Path: was set to ~/Mail/foo or it
could be due to setting `mhn: -option' property in .mh_profile. I
don't know.
What's true, however, is that mhn does display this behavior when
run in any mode other than compose, e.g. `mhn +foo -show 12345'
won't show anything if 12345 is readonly. That's definitely a bug
and I'll fix it.
Regards,
Sergey