Ole Laursen <[email protected]> writes: > Actually, I just tried opening one of the remote file with Emacs > running as root. Now I can read the file, but I can't write to it. So > actually, I think setting read permissions only is not necessarily > enough?
I could reproduce the problem. However, it is different from the previous one. When you save a file, `set-file-modes' is called by `basic-save-buffer'. This is needed in order to keep permissions, when the original file version has been moved to be the backup file. This operation fails, when you are not the owner of the file. It is the same for local files: Try to open a local file, owned by root, with permissions "---xrwxr--". Modify it, and save it. Maybe modifying `backup-by-copying' helps; I haven't tried. Best regards, Michael. _______________________________________________ Tramp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/tramp-devel
