[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 22.1.50; insert-file-contents is slow under tramp
From: |
Stefan Monnier |
Subject: |
Re: 22.1.50; insert-file-contents is slow under tramp |
Date: |
Mon, 27 Aug 2007 09:58:32 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
> The current approach(1) is to remove any temporary file immediately after
> it has been processes by Emacs (for example, insert-file-contents is
> finished). This reduces the time nasty third party can see such a file.
If the file is readable, that's a major security concern.
> But I admit, this might not be sufficient wrt security threats. Maybe
> one could change it such a way, that temporary files shall be owned by
> (user-login-name), and shall carry 0400 permissions.
How can you do that? Let's say I access a file of user BAR from user FOO,
how would you go about doing it in such a way that user TOTO can never see
the content of the file? BAR can't use `chown' (unless it's root).
> (1): That's the theory. In practice, there are still some zero-length
> temporary files left, for which I haven't debugged yet who is
> responsible to remove them. On my todo list.
Oh, I've sen those. Yes, they need fixing as well, but it's minor: this is
not a security concern.
Stefan
- Re: 22.1.50; insert-file-contents is slow under tramp, (continued)
- Re: 22.1.50; insert-file-contents is slow under tramp, martin rudalics, 2007/08/23
- Message not available
- Re: 22.1.50; insert-file-contents is slow under tramp, Stephen Berman, 2007/08/23
- Re: 22.1.50; insert-file-contents is slow under tramp, Michael Albinus, 2007/08/24
- Re: 22.1.50; insert-file-contents is slow under tramp, Stephen Berman, 2007/08/24
- Re: 22.1.50; insert-file-contents is slow under tramp, Stefan Monnier, 2007/08/24
- Re: 22.1.50; insert-file-contents is slow under tramp, Michael Albinus, 2007/08/26
- Re: 22.1.50; insert-file-contents is slow under tramp, David Kastrup, 2007/08/26
- Re: 22.1.50; insert-file-contents is slow under tramp, Michael Albinus, 2007/08/26
- Re: 22.1.50; insert-file-contents is slow under tramp, Stefan Monnier, 2007/08/27
- Re: 22.1.50; insert-file-contents is slow under tramp, Michael Albinus, 2007/08/27
- Re: 22.1.50; insert-file-contents is slow under tramp,
Stefan Monnier <=
- Re: 22.1.50; insert-file-contents is slow under tramp, Thien-Thi Nguyen, 2007/08/27
- Re: 22.1.50; insert-file-contents is slow under tramp, David Kastrup, 2007/08/27
- Re: 22.1.50; insert-file-contents is slow under tramp, Michael Albinus, 2007/08/27
- Re: 22.1.50; insert-file-contents is slow under tramp, Stefan Monnier, 2007/08/27
- Re: 22.1.50; insert-file-contents is slow under tramp, Michael Albinus, 2007/08/27
- Re: 22.1.50; insert-file-contents is slow under tramp, Michael Albinus, 2007/08/27
- Re: 22.1.50; insert-file-contents is slow under tramp, David Kastrup, 2007/08/27
- Re: 22.1.50; insert-file-contents is slow under tramp, Richard Stallman, 2007/08/27
- Re: 22.1.50; insert-file-contents is slow under tramp, David Kastrup, 2007/08/27
- Re: 22.1.50; insert-file-contents is slow under tramp, Richard Stallman, 2007/08/28