🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #648

Re: Unsafe tmp files

#648
From: Kevin Rodgers
Date: Wed, 01 Sep 2004 17:32
24 lines
1800 bytes
Michael Welle wrote:
 > vm seems to create world readable tmp files under some conditions. If
 > I read an email with an image attached, tmp files are created. If the
 > image is a jpeg for example, the tmp files are chmod 600. That is the
 > expected behaviour. But if the image is a png, some tmp files are
 > chmod 644 and these files are not deleted after finishing vm. This is
 > rather annoying. Any hints?

Are you sure the attachments are PNG files?  (What are their
Content-Type and Content-Disposition headers?)

Assuming they're image/png MIME attachments, are they being converted
to some other format, via `vm-mime-type-converter-alist' or
`vm-mime-image-type-converter-alist'?

`vm-mime-use-image-strips' defaults to t.  Does the problem occur if
you set it to nil?

Does the problem occur if you clean out the temp directory before
selecting such a message (so that you can be sure the file didn't
already exist with the wrong permission)?

-- 
Kevin Rodgers
Technical Details
Message-ID: <413607BA.8030706@yahoo.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!fu-berlin.de!uni-berlin.de!not-for-mail
References: <87n00bk4y9.fsf@buerbach048.buerbach.wohnheim.uni-siegen.de>

Show Full Headers
Complete Article Headers
X-Google-Thread: f6829,95611224594b1d12
X-Google-Attributes: gidf6829,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!fu-berlin.de!uni-berlin.de!not-for-mail
From: Kevin Rodgers <ihs_4664@yahoo.com>
Newsgroups: gnu.emacs.vm.bug
Subject: Re: Unsafe tmp files
Date: Wed, 01 Sep 2004 11:32:42 -0600
Lines: 25
Message-ID: <413607BA.8030706@yahoo.com>
References: <87n00bk4y9.fsf@buerbach048.buerbach.wohnheim.uni-siegen.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 75HuqGwWuuLoLTufivA+BwL8/ACmePHukWAe3e1Hdgdf+q+w0=
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2
X-Accept-Language: en-us