aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorStephen Gildea2019-12-20 09:15:13 -0800
committerStephen Gildea2019-12-21 10:51:10 -0800
commit678a71ea2d044f19f75e3f45c930c5e3b707e3dc (patch)
treee62c41f8970ff093717954d300f7176b8be2058c /etc
parent59ce7609cb383893ac55921589051993c388c6cc (diff)
downloademacs-678a71ea2d044f19f75e3f45c930c5e3b707e3dc.tar.gz
emacs-678a71ea2d044f19f75e3f45c930c5e3b707e3dc.zip
backup-by-copying-when-privileged-mismatch applies to file gid, too.
* lisp/files.el (backup-by-copying-when-privileged-mismatch): In addition to checking the file uid, a second test is added: if the file gid is not greater than backup-by-copying-when-privileged-mismatch, backup-by-copying-when-mismatch will also be forced on. * doc/emacs/files.texi, doc/lispref/backups.texi: Updated documentation. Also fixed a typo in the Emacs reference manual, changing "higher" to "no greater" so that the limit is no longer documented reversed.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 6e0b039ce30..678139ecbcf 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -533,6 +533,11 @@ The HIST argument of 'read-from-minibuffer' now works correctly with
533buffer-local variables. This means that different buffers can have 533buffer-local variables. This means that different buffers can have
534their own separated input history list if desired. 534their own separated input history list if desired.
535 535
536** 'backup-by-copying-when-privileged-mismatch' applies to file gid, too.
537In addition to checking the file owner uid, Emacs also checks that the
538group gid is not greater than backup-by-copying-when-privileged-mismatch;
539if so, backup-by-copying-when-mismatch will be forced on.
540
536 541
537* Editing Changes in Emacs 27.1 542* Editing Changes in Emacs 27.1
538 543