diff options
| author | Stephen Gildea | 2019-12-20 09:15:13 -0800 |
|---|---|---|
| committer | Stephen Gildea | 2019-12-21 10:51:10 -0800 |
| commit | 678a71ea2d044f19f75e3f45c930c5e3b707e3dc (patch) | |
| tree | e62c41f8970ff093717954d300f7176b8be2058c /etc | |
| parent | 59ce7609cb383893ac55921589051993c388c6cc (diff) | |
| download | emacs-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/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -533,6 +533,11 @@ The HIST argument of 'read-from-minibuffer' now works correctly with | |||
| 533 | buffer-local variables. This means that different buffers can have | 533 | buffer-local variables. This means that different buffers can have |
| 534 | their own separated input history list if desired. | 534 | their own separated input history list if desired. |
| 535 | 535 | ||
| 536 | ** 'backup-by-copying-when-privileged-mismatch' applies to file gid, too. | ||
| 537 | In addition to checking the file owner uid, Emacs also checks that the | ||
| 538 | group gid is not greater than backup-by-copying-when-privileged-mismatch; | ||
| 539 | if 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 | ||