Displaying 1 result from an estimated 1 matches for "esjolund".
Did you mean:
sjolund
2009 Mar 02
2
DO NOT REPLY [Bug 6151] New: --safe-links can be fooled by adding extra slashes to the path
...ding incremental file list
created directory /tmp/b
./
ignoring unsafe symlink "/tmp/b/passwd1" -> "../../etc/passwd"
passwd2 -> .////../../etc/passwd
sent 115 bytes received 18 bytes 266.00 bytes/sec
total size is 37 speedup is 0.28
$ ls -l /tmp/b
total 0
lrwxrwxrwx 1 esjolund users 21 2009-03-02 22:33 passwd2 ->
.////../../etc/passwd
We see that rsync correctly detects /tmp/a/passwd1 as being a symlink pointing
outside the tree and rsync therefore ignores that symlink. But rsync fails to
discover that /tmp/a/passwd2 also points outside the tree.
The rsync version...