🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Unsafe tmp files

#652
From: Michael Welle
Date: Sun, 05 Sep 2004 11:43
26 lines
2354 bytes
Hi Kevin,

Kevin Rodgers <ihs_4664@yahoo.com> writes:

> Michael Welle wrote:
>  > Kevin Rodgers <ihs_4664@yahoo.com> writes:
>  >>`vm-mime-use-image-strips' defaults to t.  Does the problem occur if
>  >>you set it to nil?
>  >
>  > Ah, that seems to be much better. There is only a tmp file with
>  > restricted permissions. I have looked at the code yesterday and find
>  > the place with the stripping. But my knowledge about list is very
>  > vague. Is the handling of png images so different from the handling of
>  > other image types?
>
> No, none of vm-mime-display-internal-image-xemacs-xxxx,
> vm-mime-display-internal-image-fsfemacs-21-xxxx, or
> vm-make-image-strips reference "png".  VM passes a new empty temp
> output file (presumably with the correct permissions) to the
> ImageMagick convert program, which I suspect is re-creating the file
> (with the incorrect default permissions).
hm, so setting vm-temp-file-directory to some safe place may be a
good workaround. No uncertainties with third party programs.

Thank you
Michael
Technical Details
Message-ID: <87fz5xvt4r.fsf@buerbach048.buerbach.wohnheim.uni-siegen.de>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!news-FFM2.ecrc.net!news0.de.colt.net!news-fra1.dfn.de!si-nic.hrz.uni-siegen.de!not-for-mail
References: <87n00bk4y9.fsf@buerbach048.buerbach.wohnheim.uni-siegen.de> <413607BA.8030706@yahoo.com> <87fz61jhbp.fsf@buerbach048.buerbach.wohnheim.uni-siegen.de> <413739D4.7000005@yahoo.com>

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!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!news-FFM2.ecrc.net!news0.de.colt.net!news-fra1.dfn.de!si-nic.hrz.uni-siegen.de!not-for-mail
From: Michael Welle <m.welle@gmx.net>
Newsgroups: gnu.emacs.vm.bug
Subject: Re: Unsafe tmp files
Date: Sun, 05 Sep 2004 13:43:00 +0200
Organization: University of Siegen
Lines: 26
Message-ID: <87fz5xvt4r.fsf@buerbach048.buerbach.wohnheim.uni-siegen.de>
References: <87n00bk4y9.fsf@buerbach048.buerbach.wohnheim.uni-siegen.de> <413607BA.8030706@yahoo.com>
 <87fz61jhbp.fsf@buerbach048.buerbach.wohnheim.uni-siegen.de>
 <413739D4.7000005@yahoo.com>
NNTP-Posting-Host: si-nic.hrz.uni-siegen.de
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: ws-fra1.win-ip.dfn.de 1094384561 28657 141.99.2.2 (5 Sep 2004 11:42:41 GMT)
X-Complaints-To: abuse@dfn.de
NNTP-Posting-Date: Sun, 5 Sep 2004 11:42:41 +0000 (UTC)
User-Agent: Gnus/5.090024 (Oort Gnus v0.24) XEmacs/21.4 (Native Windows TTY
 Support, linux)
Cancel-Lock: sha1:NVDAwbBDHgb96s0YgGKH7ePvJ1o=
X-Original-NNTP-Posting-Host: 141.99.26.48
X-Original-Trace: 5 Sep 2004 13:42:37 +0200, 141.99.26.48