tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp (2.0.51); sudo method changes permissions


From: Michael Albinus
Subject: Re: tramp (2.0.51); sudo method changes permissions
Date: Tue, 08 Nov 2005 23:21:33 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

"Otto Maddox" <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]