"Otto Maddox" <[EMAIL PROTECTED]> writes:
> Using the sudo method changes permissions of the file. An example:
>
> $ ls -l /etc/profile*
> -rw-r--r-- 1 root wheel 139 8 Nov 17:13 profile
>
> C-x C-f /sudo::/etc/profile
> [make a change]
> C-x C-s
>
> and now it's like this:
>
> $ ls -l /etc/profile*
> -rw------- 1 root wheel 140 8 Nov 17:15 profile
> -rw-r--r-- 1 root wheel 139 8 Nov 17:13 profile~
I couldn't reproduce the problem locally. After playing the same
scenario, /etc/profile keeps its 0644 file permissions.
Could you, please, set
(setq tramp-verbose 10
tramp-debug-buffer t)
and repeat the bug? Then, provide the contents of the *tramp/sudo* and
*debug tramp/sudo* buffers.
Best regards, Michael.
_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel