[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: printing.el PS preview creates world-readable files in /tmp
From: |
Stefan Monnier |
Subject: |
Re: printing.el PS preview creates world-readable files in /tmp |
Date: |
Mon, 15 Nov 2004 14:20:54 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
> The version 6.8.3 now handles file permission bits (see pr-file-modes
> option). The pr-file-modes default value is 0600, that is, only the owner
> session have permissions to handle the newly created files by
> printing package.
Note that this should only matter for files created in /tmp, but those files
need more than just 0600: they have to be created atomically.
Browsing through printing.el, I get the impression that it does not create
those files atomically.
When creating files in /tmp, it's very important for security reasons to use
`make-temp-file'.
Stefan