[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Preserve permissions after backup?
From: |
Richard Stallman |
Subject: |
Re: Preserve permissions after backup? |
Date: |
Mon, 27 Jan 2003 12:41:08 -0500 |
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.