emacs-devel
[Top][All Lists]
Advanced

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

Mode of auto-saved remote files


From: Michael Albinus
Subject: Mode of auto-saved remote files
Date: Sat, 02 Oct 2004 17:45:58 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Hello,

Auto-saved copies of remote files are created with default permissions
(666 minus umask). By this, sensitive files can be read by other
users.

It comes from the function `auto_save_1' of fileio.c, where the
permissions of the original files are retrieved via `stat', which
isn't possible for remote files.

The following patch avoids this. Are there any objections?

Best regards, Michael.

Attachment: txt3XbUA9fCS_.txt
Description: Text Data


reply via email to

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