tramp-devel
[Top][All Lists]
Advanced

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

Re: Tramp 2.1.14 overwrites links when working locally


From: Michael Albinus
Subject: Re: Tramp 2.1.14 overwrites links when working locally
Date: Thu, 01 Jan 2009 14:18:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Peter Oliver <address@hidden> writes:

> Say that I have a file "foo", and I create two links to it, thus:
> echo foo > foo
> ln -s foo bar
> ln foo baz
>
> If I create these files on a remote host, and then edit bar and baz
> with tramp using the ssh method, I find that the contents of all three
> files remain identical.  The files stay linked together.
>
> lrwxrwxrwx 1 user user  3 2008-12-30 15:12 bar -> foo
> -rw-r--r-- 2 user user 15 2008-12-30 15:22 baz
> -rw-r--r-- 2 user user 15 2008-12-30 15:22 foo
>
> However, if I create the files on the local host as user root, and
> then edit them with tramp using the sudo method, I end up with three
> seperate regular files with different contents.  The files are no
> longer linked to each other:
>
> -rw-r--r-- 1 root root 16 2008-12-30 15:34 bar
> -rw-r--r-- 1 root root 10 2008-12-30 15:14 baz
> -rw-r--r-- 1 root root  4 2008-12-30 15:13 foo

I couldn't reproduce it here, running Tramp 2.1.15-pre. According to the
ChangeLog, there was a bug fix which could be related, but I don't
remember the exact details.

Do you see a chance to check it with that version (from CVS)? If not, or
if the problem still exists with that Tramp version, please set
tramp-verbose to at least 6, and rerun your test. I would be interested
in the resulting trace.

Best regards, Michael.




reply via email to

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