Hi, Sorry for my poor English. I want to report a bug about LFTP (lastest 4.3.7) It's about "mirror --allow-chown" with "numeric user name". LFTP confused the uid & username. (tar zcPf doesn't)
for example, if I have Server A, B with the same master.passwd. They all have one line: 9100075:*:3018:1001::0:0:REALNAME:/home/9100075:/usr/local/bin/bash => username = 9100075, uid = 3018. and uid=9100075 doesn't exist. if I mirror some files like /home/9100075# ls -la total 76K -rw------- 1 9100075 clcstaff 61 9 26 2011 .bash_history drwx------ 8 9100075 clcstaff 512 7 27 2011 .openwebmail/ -rw------- 1 9100075 clcstaff 252 7 27 2011 .vacation.msg drwx------ 2 9100075 clcstaff 512 6 21 08:28 mail/ another view to see uid /home/9100075# ls -lan total 76K drwxr-xr-x 4 3018 1001 512 7 27 2011 ./ drwxr-xr-x 3274 0 0 54272 6 19 13:12 ../ -rw------- 1 3018 1001 61 9 26 2011 .bash_history drwx------ 8 3018 1001 512 7 27 2011 .openwebmail/ -rw------- 1 3018 1001 252 7 27 2011 .vacation.msg drwx------ 2 3018 1001 512 6 21 08:28 mail/ uid=3018, gid=1001 But when I use "mirror --allow-chown .", I got the result below. /home/9100075# ls -la total 76K -rw------- 1 9100075 clcstaff 61 9 26 2011 .bash_history drwx------ 8 9100075 clcstaff 512 7 27 2011 .openwebmail/ -rw------- 1 9100075 clcstaff 252 7 27 2011 .vacation.msg drwx------ 2 9100075 clcstaff 512 6 21 08:28 mail/ ===> It seems OK. but NOT EXACTLY. /home/9100075# ls -lan total 76K -rw------- 1 9100075 1001 61 9 26 2011 .bash_history drwx------ 8 9100075 1001 512 7 27 2011 .openwebmail/ -rw------- 1 9100075 1001 252 7 27 2011 .vacation.msg drwx------ 2 9100075 1001 512 6 21 2012 mail/ => uid=9100075, gid=1001 and because uid=9100075 doesn't exist, ls command shows uid.
_______________________________________________ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp