Peter Oliver <[email protected]> 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.


_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to