unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Preserve permissions after backup?
Date: Mon, 27 Jan 2003 12:41:08 -0500	[thread overview]
Message-ID: <E18dDFs-0007g8-00@fencepost.gnu.org> (raw)
In-Reply-To: <84fzrfej2c.fsf@lucy.is.informatik.uni-duisburg.de> (kai.grossjohann@uni-duisburg.de)

    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?

Yes.  The functions to save the file are supposed to record the permissions
of the old file and apply them to the new file.  This must
be malfunctioning with Tramp.

      parent reply	other threads:[~2003-01-27 17:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-26 20:45 Preserve permissions after backup? Kai Großjohann
2003-01-27  6:22 ` Eli Zaretskii
2003-01-27 17:41 ` Richard Stallman [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E18dDFs-0007g8-00@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).