https://bugzilla.samba.org/show_bug.cgi?id=5615


per_angst...@autark.se changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |per_angst...@autark.se




------- Comment #3 from per_angst...@autark.se  2009-03-27 08:02 CST -------
I'm having problem with symlinks and rsync (3.05/Ubuntu 9.10) with the --iconv
option. I hope the following terminal log should make it pretty clear what my
problem is:

p...@barbaren:~$ rsync --version
rsync  version 3.0.5  protocol version 30
[..]

p...@barbaren:~$ export LC_ALL=sv_SE.utf8
p...@barbaren:~$ locale
LANG=en_US.utf8
LC_CTYPE="sv_SE.utf8"
LC_NUMERIC="sv_SE.utf8"
LC_TIME="sv_SE.utf8"
LC_COLLATE="sv_SE.utf8"
LC_MONETARY="sv_SE.utf8"
LC_MESSAGES="sv_SE.utf8"
LC_PAPER="sv_SE.utf8"
LC_NAME="sv_SE.utf8"
LC_ADDRESS="sv_SE.utf8"
LC_TELEPHONE="sv_SE.utf8"
LC_MEASUREMENT="sv_SE.utf8"
LC_IDENTIFICATION="sv_SE.utf8"
LC_ALL=sv_SE.utf8
p...@barbaren:~$ mkdir rsync-iconv-test
p...@barbaren:~$ cd rsync-iconv-test
p...@barbaren:~/rsync-iconv-test$ touch ÅÄÖåäöéèñ.txt
p...@barbaren:~/rsync-iconv-test$ ln -s ÅÄÖåäöéèñ.txt symlink
p...@barbaren:~/rsync-iconv-test$ ls -l
total 0
lrwxrwxrwx 1 pang pang 22 2009-03-27 13:23 symlink -> ÅÄÖåäöéèñ.txt
-rw-r--r-- 1 pang pang  0 2009-03-27 13:23 ÅÄÖåäöéèñ.txt

p...@barbaren:~/rsync-iconv-test$ rsync ../rsync-iconv-test /tmp/ -av --iconv
utf8,iso885915
sending incremental file list
rsync-iconv-test/
rsync-iconv-test/symlink -> ÅÄÖåäöéèñ.txt
rsync-iconv-test/ÅÄÖåäöéèñ.txt

sent 192 bytes  received 42 bytes  468.00 bytes/sec
total size is 22  speedup is 0.09

p...@barbaren:~/rsync-iconv-test$ ls -l /tmp/rsync-iconv-test/
total 0
lrwxrwxrwx 1 pang pang 22 2009-03-27 13:23 symlink -> ÅÄÖåäöéèñ.txt
-rw-r--r-- 1 pang pang  0 2009-03-27 13:23 ?????????.txt

p...@barbaren:~/rsync-iconv-test$ export LC_ALL=sv_SE.iso885915
p...@barbaren:~/rsync-iconv-test$ locale
LANG=en_US.utf8
LC_CTYPE="sv_SE.iso885915"
LC_NUMERIC="sv_SE.iso885915"
LC_TIME="sv_SE.iso885915"
LC_COLLATE="sv_SE.iso885915"
LC_MONETARY="sv_SE.iso885915"
LC_MESSAGES="sv_SE.iso885915"
LC_PAPER="sv_SE.iso885915"
LC_NAME="sv_SE.iso885915"
LC_ADDRESS="sv_SE.iso885915"
LC_TELEPHONE="sv_SE.iso885915"
LC_MEASUREMENT="sv_SE.iso885915"
LC_IDENTIFICATION="sv_SE.iso885915"
LC_ALL=sv_SE.iso885915
p...@barbaren:~/rsync-iconv-test$ ls -l /tmp/rsync-iconv-test/
total 0
lrwxrwxrwx 1 pang pang 22 2009-03-27 13:23 symlink ->
���åÀöéÚñ.txt
-rw-r--r-- 1 pang pang  0 2009-03-27 13:23 ÅÄÖåäöéèñ.txt

p...@barbaren:~/rsync-iconv-test$  ls -lL /tmp/rsync-iconv-test/
ls: cannot access /tmp/rsync-iconv-test/symlink: No such file or directory
total 0
l????????? ? ?    ?    ?                ? symlink
-rw-r--r-- 1 pang pang 0 2009-03-27 13:23 ÅÄÖåäöéèñ.txt


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to