Mercurial > emacs
comparison man/files.texi @ 31043:31a21ae1de1f
Document backup-by-copying-when-privileged-mismatch.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Tue, 22 Aug 2000 10:33:38 +0000 |
parents | 324386e590b7 |
children | 9c00fd66ec24 |
comparison
equal
deleted
inserted
replaced
31042:bff0e9c38c5d | 31043:31a21ae1de1f |
---|---|
604 locally (@pxref{File Variables}). | 604 locally (@pxref{File Variables}). |
605 | 605 |
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. | |
610 Renaming is the default choice. If the variable | 613 Renaming 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, |
612 if the variable @code{backup-by-copying-when-linked} is non-@code{nil}, | 615 if the variable @code{backup-by-copying-when-linked} is non-@code{nil}, |
613 then copying is used for files that have multiple names, but renaming | 616 then copying is used for files that have multiple names, but renaming |
614 may still be used when the file being edited has only one name. If the | 617 may still be used when the file being edited has only one name. If the |
615 variable @code{backup-by-copying-when-mismatch} is non-@code{nil}, then | 618 variable @code{backup-by-copying-when-mismatch} is non-@code{nil}, then |
616 copying is used if renaming would cause the file's owner or group to | 619 copying is used if renaming would cause the file's owner or group to |
617 change. @code{backup-by-copying-when-mismatch} is @code{t} by default | 620 change. @code{backup-by-copying-when-mismatch} is @code{t} by default |
618 if you start Emacs as the superuser. | 621 if you start Emacs as the superuser. The fourth variable, |
622 @code{backup-by-copying-when-privileged-mismatch}, gives the highest | |
623 numeric user id for which @code{backup-by-copying-when-mismatch} will be | |
624 forced on. This is useful when low-numbered uid's are assigned to | |
625 special system users, such as @code{root}, @code{bin}, @code{daemon}, | |
626 etc., 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 |
621 Control}), Emacs does not normally make backups in the usual way for | 629 Control}), Emacs does not normally make backups in the usual way for |
622 that file. But check-in and check-out are similar in some ways to | 630 that file. But check-in and check-out are similar in some ways to |
623 making backups. One unfortunate similarity is that these operations | 631 making backups. One unfortunate similarity is that these operations |