aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2013-12-29 10:18:45 -0800
committerPaul Eggert2013-12-29 10:18:45 -0800
commita560b856b15f57889eb10be984130c285e2cb43d (patch)
treef422337dcce0c3b4115aff096c35708ea7e587de /src/ChangeLog
parent830506d93af4c75edc487016c1711941e96faa04 (diff)
downloademacs-a560b856b15f57889eb10be984130c285e2cb43d.tar.gz
emacs-a560b856b15f57889eb10be984130c285e2cb43d.zip
Plain copy-file no longer chmods an existing destination.
* doc/lispref/files.texi (Changing Files): Document this. * etc/NEWS: Document this. * src/fileio.c (realmask): Now a static var, not a local. (barf_or_query_if_file_exists): New arg KNOWN_TO_EXIST. Remove arg STATPTR. All uses changed. (Fcopy_file): Do not alter permissions of existing destinations, unless PRESERVE-PERMISSIONS (renamed from PRESERVE-EXTENDED-ATTRIBUTES) is non-nil. Avoid race when testing for existing destinations and for when input and output files are the same. If changing the group fails, adjust both default and preserved permissions so that access is not granted to the wrong group. (Fset_default_file_modes, init_fileio): Update realmask. (Fdefault_file_modes): Use realmask instead of calling umask. Fixes: debbugs:16133
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 1ec84a72d2d..e1e9777fa4f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,20 @@
12013-12-29 Paul Eggert <eggert@cs.ucla.edu>
2
3 Plain copy-file no longer chmods an existing destination (Bug#16133).
4 * fileio.c (realmask): Now a static var, not a local.
5 (barf_or_query_if_file_exists): New arg KNOWN_TO_EXIST.
6 Remove arg STATPTR. All uses changed.
7 (Fcopy_file): Do not alter permissions of existing destinations,
8 unless PRESERVE-PERMISSIONS (renamed from
9 PRESERVE-EXTENDED-ATTRIBUTES) is non-nil.
10 Avoid race when testing for existing destinations and for
11 when input and output files are the same.
12 If changing the group fails, adjust both default and
13 preserved permissions so that access is not granted to the
14 wrong group.
15 (Fset_default_file_modes, init_fileio): Update realmask.
16 (Fdefault_file_modes): Use realmask instead of calling umask.
17
12013-12-28 Paul Eggert <eggert@cs.ucla.edu> 182013-12-28 Paul Eggert <eggert@cs.ucla.edu>
2 19
3 Fix pipe bug with OS X emacs --daemon (Bug#16262). 20 Fix pipe bug with OS X emacs --daemon (Bug#16262).