aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorEli Zaretskii2000-08-22 10:33:38 +0000
committerEli Zaretskii2000-08-22 10:33:38 +0000
commit3c8b8db047072bf682ff6315599b6bae66efa043 (patch)
tree84f668cace96adbf20a0928adf0f65af05720cf4 /man
parent34d90e29e051c98e3173fb94e2dde0e3cf7fd915 (diff)
downloademacs-3c8b8db047072bf682ff6315599b6bae66efa043.tar.gz
emacs-3c8b8db047072bf682ff6315599b6bae66efa043.zip
Document backup-by-copying-when-privileged-mismatch.
Diffstat (limited to 'man')
-rw-r--r--man/files.texi12
1 files changed, 10 insertions, 2 deletions
diff --git a/man/files.texi b/man/files.texi
index 23d88aa4a0c..f0f64597c61 100644
--- a/man/files.texi
+++ b/man/files.texi
@@ -606,7 +606,10 @@ locally (@pxref{File Variables}).
606@vindex backup-by-copying 606@vindex backup-by-copying
607@vindex backup-by-copying-when-linked 607@vindex backup-by-copying-when-linked
608@vindex backup-by-copying-when-mismatch 608@vindex backup-by-copying-when-mismatch
609 The choice of renaming or copying is controlled by three variables. 609@vindex backup-by-copying-when-privileged-mismatch
610@cindex file ownership, and backup
611@cindex backup, and user's uid
612 The choice of renaming or copying is controlled by four variables.
610Renaming is the default choice. If the variable 613Renaming is the default choice. If the variable
611@code{backup-by-copying} is non-@code{nil}, copying is used. Otherwise, 614@code{backup-by-copying} is non-@code{nil}, copying is used. Otherwise,
612if the variable @code{backup-by-copying-when-linked} is non-@code{nil}, 615if the variable @code{backup-by-copying-when-linked} is non-@code{nil},
@@ -615,7 +618,12 @@ may still be used when the file being edited has only one name. If the
615variable @code{backup-by-copying-when-mismatch} is non-@code{nil}, then 618variable @code{backup-by-copying-when-mismatch} is non-@code{nil}, then
616copying is used if renaming would cause the file's owner or group to 619copying is used if renaming would cause the file's owner or group to
617change. @code{backup-by-copying-when-mismatch} is @code{t} by default 620change. @code{backup-by-copying-when-mismatch} is @code{t} by default
618if you start Emacs as the superuser. 621if you start Emacs as the superuser. The fourth variable,
622@code{backup-by-copying-when-privileged-mismatch}, gives the highest
623numeric user id for which @code{backup-by-copying-when-mismatch} will be
624forced on. This is useful when low-numbered uid's are assigned to
625special system users, such as @code{root}, @code{bin}, @code{daemon},
626etc., which must maintain ownership of files.
619 627
620 When a file is managed with a version control system (@pxref{Version 628 When a file is managed with a version control system (@pxref{Version
621Control}), Emacs does not normally make backups in the usual way for 629Control}), Emacs does not normally make backups in the usual way for