emacs-devel
[Top][All Lists]
Advanced

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

Re: doc-view cache file permissions


From: Tassilo Horn
Subject: Re: doc-view cache file permissions
Date: Tue, 30 Oct 2007 21:34:16 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

Glenn Morris <address@hidden> writes:

> doc-view creates world-readable image files in /tmp from private
> documents:
>
> chmod 600 foo.pdf
> emacs -Q foo.pdf
>
> -> /tmp/doc-view/foo.pdf-MD5/page-1.png is world-readable
>
> Is there any reason to not just make the top-level cache directory
> private?
>
> Also, it seems to use `concat' to make a lot of file names, when
> something like `expand-file-name' would probably be better.

While I was fixing those issues and testing my changes a patch from
Stefan arrived here which goes far beyond that.  So well take Stefan's
patch and I'll revert my changes.  This guy seems to be on steroids. ;-)

Bye,
Tassilo




reply via email to

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