From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: doc-view cache file permissions Date: Tue, 30 Oct 2007 14:50:46 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193770270 8524 80.91.229.12 (30 Oct 2007 18:51:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Oct 2007 18:51:10 +0000 (UTC) Cc: emacs-devel@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 30 19:51:12 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ImwBD-0007j7-3b for ged-emacs-devel@m.gmane.org; Tue, 30 Oct 2007 19:51:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImwB3-0003Nm-CE for ged-emacs-devel@m.gmane.org; Tue, 30 Oct 2007 14:51:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ImwAx-0003Ml-Nr for emacs-devel@gnu.org; Tue, 30 Oct 2007 14:50:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ImwAv-0003M4-8W for emacs-devel@gnu.org; Tue, 30 Oct 2007 14:50:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImwAv-0003M0-6G for emacs-devel@gnu.org; Tue, 30 Oct 2007 14:50:53 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ImwAo-0001hS-QS; Tue, 30 Oct 2007 14:50:46 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1ImwAo-00031y-6f; Tue, 30 Oct 2007 14:50:46 -0400 X-Spook: kilo class smuggle Vickie Weaver EuroFed M-14 Yukon X-Ran: %"Q9't.6GR.{}+[Jh!GV)<+^>,;Gwj>4aBOUDmE"^054*`4O*}i2F]NNk'6.8gcB)Gs"Y' X-Hue: magenta X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:82146 Archived-At: 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.