From: kai.grossjohann@uni-duisburg.de (Kai Großjohann)
Subject: Preserve permissions after backup?
Date: Sun, 26 Jan 2003 21:45:47 +0100 [thread overview]
Message-ID: <84fzrfej2c.fsf@lucy.is.informatik.uni-duisburg.de> (raw)
A Tramp user is reporting that the permissions of a root-owned file
change after he edits it with Tramp (the su method). I'm guessing
that's because Tramp does backup by renaming and creates a new file
with default permissions.
Is there some machinery in Emacs which is designed to prevent things
like this from happening? I guess there must be a bug in Tramp which
prevents this machinery from working.
I investigated the backup-by-copying variables but these don't talk
about the permissions, only the owner and group.
Or is backup-by-copying the right approach and I (and the user) just
need to make sure that it is used for the file(s) in question?
--
Ambibibentists unite!
next reply other threads:[~2003-01-26 20:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-26 20:45 Kai Großjohann [this message]
2003-01-27 6:22 ` Preserve permissions after backup? Eli Zaretskii
2003-01-27 17:41 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=84fzrfej2c.fsf@lucy.is.informatik.uni-duisburg.de \
--to=kai.grossjohann@uni-duisburg.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.