[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nmh-workers] mhstore problem
From: |
Jon Fairbairn |
Subject: |
[Nmh-workers] mhstore problem |
Date: |
Sat, 17 May 2014 16:01:23 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
mhstore doesn’t set a return code when it can’t write the attachments:
11:07:35$ mkdir /tmp/foobar
11:07:44$ cd /tmp/foobar
11:07:59$ chmod -w .
11:08:13$ mhstore
mhstore: unable to fopen for reading/writing /tmp/foobar/8853.1.txt:
Permission denied
(content text/plain in message 8853, part 1)
mhstore: unable to fopen for reading/writing /tmp/foobar/8853.2.jpeg:
Permission denied
(content image/jpeg in message 8853, part 2)
11:08:15$ echo $?
0
Not ideal for scripting! I’m running nmh 1.3 at home, but this
still occurs with nmh 1.5
--
Jón Fairbairn address@hidden
- [Nmh-workers] mhstore problem,
Jon Fairbairn <=