1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-07 06:22:32 -08:00
emacs/etc
Paul Eggert 9d626dffc6 Add 'nofollow' flag to set-file-modes etc.
This avoids some race conditions (Bug#39683).  E.g., if some other
program changes a file to a symlink between the time Emacs creates
the file and the time it changes the file’s permissions, using the
new flag prevents Emacs from inadvertently changing the
permissions of a victim in some completely unrelated directory.
* admin/merge-gnulib (GNULIB_MODULES): Add fchmodat.
* doc/lispref/files.texi (Testing Accessibility, Changing Files):
* doc/lispref/os.texi (File Notifications):
* etc/NEWS:
Adjust documentation accordingly.
* lib/chmodat.c, lib/fchmodat.c, lib/lchmod.c, m4/fchmodat.m4:
* m4/lchmod.m4: New files, copied from Gnulib.
* lib/gnulib.mk.in: Regenerate.
* lisp/dired-aux.el (dired-do-chmod):
* lisp/doc-view.el (doc-view-make-safe-dir):
* lisp/emacs-lisp/autoload.el (autoload--save-buffer):
* lisp/emacs-lisp/bytecomp.el (byte-compile-file):
* lisp/eshell/em-pred.el (eshell-pred-file-mode):
* lisp/files.el (backup-buffer-copy, copy-directory):
* lisp/gnus/mail-source.el (mail-source-movemail):
* lisp/gnus/mm-decode.el (mm-display-external):
* lisp/gnus/nnmail.el (nnmail-write-region):
* lisp/net/tramp-adb.el (tramp-adb-handle-file-local-copy)
(tramp-adb-handle-write-region):
* lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-directly):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-write-region):
* lisp/net/tramp.el (tramp-handle-write-region)
(tramp-make-tramp-temp-file):
* lisp/server.el (server-ensure-safe-dir):
* lisp/url/url-util.el (url-make-private-file):
When getting or setting file modes, avoid following symbolic links
when the file is not supposed to be a symbolic link.
* lisp/doc-view.el (doc-view-make-safe-dir):
Omit no-longer-needed separate symlink test.
* lisp/gnus/gnus-util.el (gnus-set-file-modes):
* lisp/net/tramp.el (tramp-handle-file-modes):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-set-file-modes):
* src/fileio.c (symlink_nofollow_flag): New function.
(Ffile_modes, Fset_file_modes):
Support an optional FLAG arg.  All C callers changed.
* lisp/net/ange-ftp.el (ange-ftp-set-file-modes):
* lisp/net/tramp-adb.el (tramp-adb-handle-set-file-modes):
* lisp/net/tramp-sh.el (tramp-sh-handle-set-file-modes):
* lisp/net/tramp-smb.el (tramp-smb-handle-set-file-modes):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-set-file-modes):
Accept an optional FLAG arg that is currently ignored,
and add a FIXME comment for it.
* m4/gnulib-comp.m4: Regenerate.
2020-02-23 16:45:50 -08:00
..
charsets Update copyright year to 2020 2020-01-01 00:59:52 +00:00
e
forms Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus
images Fix copyright years by hand 2020-01-01 01:01:53 +00:00
nxml
org Update copyright year to 2020 2020-01-01 00:59:52 +00:00
refcards Merge from origin/emacs-27 2020-01-01 01:08:16 +00:00
schema Update copyright year to 2020 2020-01-01 00:59:52 +00:00
srecode Add and remove backslashes in regexps 2020-02-20 16:03:30 +01:00
themes Update copyright year to 2020 2020-01-01 00:59:52 +00:00
tutorials Fix copyright years by hand 2020-01-01 01:01:53 +00:00
AUTHORS * etc/AUTHORS: Update. 2019-08-22 00:15:11 +02:00
CALC-NEWS Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.1 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
compilation.txt Make OMake support slightly less expensive (bug#39595) 2020-02-17 11:23:41 +01:00
COPYING
DEBUG Update copyright year to 2020 2020-01-01 00:59:52 +00:00
DEVEL.HUMOR Remove an unfunny joke from DEVEL.HUMOR 2019-11-01 13:54:51 +01:00
DISTRIB Update copyright year to 2020 2020-01-01 00:59:52 +00:00
edt-user.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
emacs-buffer.gdb Update copyright year to 2020 2020-01-01 00:59:52 +00:00
emacs.appdata.xml Update copyright year to 2020 2020-01-01 00:59:52 +00:00
emacs.desktop
emacs.icon
emacs.service Don't override SSH_AUTH_SOCK in the example emacs.service file 2019-07-21 17:11:59 +02:00
enriched.txt Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ERC-NEWS Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ETAGS.EBNF Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ETAGS.README Update copyright year to 2020 2020-01-01 00:59:52 +00:00
future-bug
gnus-tut.txt Update copyright year to 2020 2020-01-01 00:59:52 +00:00
grep.txt Update copyright year to 2020 2020-01-01 00:59:52 +00:00
HELLO Update copyright year to 2020 2020-01-01 00:59:52 +00:00
HISTORY * etc/HISTORY: Add Emacs 26.3 release release date. 2019-08-22 00:40:13 +02:00
JOKES
MACHINES Update copyright year to 2020 2020-01-01 00:59:52 +00:00
MH-E-NEWS Update copyright year to 2020 2020-01-01 00:59:52 +00:00
NEWS Add 'nofollow' flag to set-file-modes etc. 2020-02-23 16:45:50 -08:00
NEWS.1-17 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
NEWS.18 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
NEWS.19 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
NEWS.20 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
NEWS.21 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
NEWS.22 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
NEWS.23 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
NEWS.24 ; Fix NEWS.24 2020-01-01 18:30:58 +02:00
NEWS.25 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
NEWS.26 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
NEWS.27 Merge from origin/emacs-27 2020-02-23 07:50:33 -08:00
NEXTSTEP Update copyright year to 2020 2020-01-01 00:59:52 +00:00
NXML-NEWS Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ORG-NEWS Update copyright year to 2020 2020-01-01 00:59:52 +00:00
package-keyring.gpg * etc/package-keyring.gpg: Add the 2019 key (backport) 2019-05-08 13:19:36 -04:00
PROBLEMS Revert the --with-install-srcdir patch 2020-01-27 23:17:10 -08:00
ps-prin0.ps Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ps-prin1.ps Update copyright year to 2020 2020-01-01 00:59:52 +00:00
publicsuffix.txt
README Update copyright year to 2020 2020-01-01 00:59:52 +00:00
rgb.txt
ses-example.ses Update copyright year to 2020 2020-01-01 00:59:52 +00:00
spook.lines Add more spook.lines 2019-07-13 05:09:45 +02:00
TERMS Update copyright year to 2020 2020-01-01 00:59:52 +00:00
TODO ;* etc/TODO: Update. 2020-01-12 15:07:00 +00:00
yow.lines

This directory contains the architecture-independent files used by or
with Emacs.  This includes some text files of documentation for GNU
Emacs or of interest to Emacs users, and the file of dumped docstrings
for Emacs functions and variables.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

File: emacs.icon
  Author: Sun Microsystems, Inc
  Copyright (C) 1999, 2001-2020 Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)