"Yang Zhang" writes: > Hi Michael, Hi Yang, > There is one small issue (that I've noticed for a long time). After > saving, the target file's permission is always set to be "-rwxrwxrwx" > regardless of the original one. For example, the target file is > "test.cc (-rw-------)" the symbolic link is "test_link.cc (always > lrwxrwxrwx)" After opening "test_link.cc" through tramp and saving > something, "test.cc" now has a permission of "-rwxrwxrwx". It there a > way to retain the target file's original permission after saving > through the symbolic link file? Please try the appended patch. It should fix it. > Thanks > --Yang Best regards, Michael.