X-Spam-Check-By: sourceware.org Message-ID: <12125308.post@talk.nabble.com> Date: Mon, 13 Aug 2007 05:28:37 -0700 (PDT) From: DaveB To: cygwin AT cygwin DOT com Subject: rsync problems from Vista installed cygwin, ok on XP MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: daveb AT quisinesoftware DOT com X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com My cygwin on Vista seems to work but when I try to do rsync to fixup files on my unix ftp server, it chokes with lots of errors and does a bizarre reset of the permission bits for the destination folder. Here's what happens: [this is the same rsync command that works fine on XP]: =========================== $ rsync -avz --stats --progress -e ssh . mylogin AT myftp DOT com:/mypath/wherever/ mylogin AT myftp DOT com's password: xxxxxx building file list ... 8 files to consider ./ rsync: failed to modify permissions on "/mypath/wherever/.": Permission denied (13) rsync: recv_generator: failed to stat "/mypath/wherever/firstfile.xxx": Permission denied (13) rsync: recv_generator: failed to stat "/mypath/wherever/secondfile.xxx": Permission denied (13) ...etc... rsync: recv_generator: mkdir "/mypath/wherever/." failed: Permission denied (13) *** Skipping everything below this failed directory *** ...etc...stats...then... rsync error: some files could not be transferred (code 23) at /home/lapo/packaging/tmp/rsync-2.6.6/main.c(791) ============================= Then after I have done this, I find that the remote directory has had all its permission bits turned off (chmod 0) and the files in the folder are not sync'd. As I said, this is a sequence I have used many times on XP and continues to work there. Any suggestions? PS After fixing the documented mkpasswd/Vista problem, cygwin starts without errors on Vista but then behaves as described above. Here is the output of a cygcheck -c (I have updated rsync to 2.6.6 as you can see)..... C:\cygwin>bin\cygcheck -c Cygwin Package Information Package Version Status _update-info-dir 00516-1 OK alternatives 1.3.29a-1 OK ash 20040127-3 OK base-files 3.7-1 OK base-passwd 2.2-1 OK bash 3.2.17-15 OK bzip2 1.0.3-2 OK catdoc 0.94.2-2 OK coreutils 6.9-2 OK crypt 1.1-1 OK cygrunsrv 1.17-1 OK cygutils 1.3.1-1 OK cygwin 1.5.24-2 OK cygwin-doc 1.4-4 OK diffutils 2.8.7-1 OK editrights 1.01-1 OK enscript 1.6.4-1 OK expat 1.95.8-2 OK findutils 4.3.4-1 OK fontconfig 2.4.1-5 OK freetype2 2.1.9-1 OK gawk 3.1.5-4 OK gdbm 1.8.3-8 OK gettext 0.15-1 OK grep 2.5.1a-2 OK groff 1.18.1-2 OK gzip 1.3.12-1 OK less 381-1 OK lftp 3.5.9-1 OK libbz2_1 1.0.3-2 OK libdb4.2 4.2.52-1 OK libdb4.3 4.3.28-1 OK libexpat0 1.95.8-2 OK libfontconfig1 2.4.1-5 OK libfreetype26 2.1.9-1 OK libgcrypt 1.2.1-1 OK libgdbm 1.8.0-5 OK libgdbm-devel 1.8.3-8 OK libgdbm3 1.8.3-3 OK libgdbm4 1.8.3-8 OK libgnutls11 1.0.25-2 OK libgpg-error 1.1-1 OK libiconv2 1.11-1 OK libintl 0.10.38-3 OK libintl1 0.10.40-1 OK libintl2 0.12.1-3 OK libintl3 0.14.5-1 OK libintl8 0.15-1 OK libncurses5 5.2-1 OK libncurses6 5.2-8 OK libncurses7 5.3-4 OK libncurses8 5.5-3 OK libopencdk8 0.5.7-1 OK libpcre0 6.6-1 OK libpopt0 1.6.4-4 OK libreadline4 4.1-2 OK libreadline5 4.3-5 OK libreadline6 5.2.4-8 OK libtasn1 0.2.15-1 OK libXft 2.1.6-1 OK libXft1 1.0.0-1 OK libXft2 2.1.6-1 OK login 1.9-7 OK man 1.6e-1 OK minires 1.01-1 OK mktemp 1.5-4 OK ncurses 5.5-3 OK openssh 4.6p1-1 OK openssl 0.9.8e-3 OK openssl097 0.9.7l-1 OK pcre 6.6-1 OK perl 5.8.7-5 OK ping 1.0-1 OK rebase 2.4.3-1 OK rsync 2.6.6-1 OK run 1.1.10-1 OK sed 4.1.5-2 OK suite3270 3.3.4p7-1 OK tar 1.16.1-1 OK tcltk 20060202-1 OK termcap 20050421-1 OK terminfo 5.5_20061104-1 OK texinfo 4.8a-1 OK which 1.7-1 OK whois 4.7.20-1 OK X-startup-scripts 1.0.11-1 OK xorg-x11-base 6.8.99.901-1 OK xorg-x11-bin 6.8.99.901-1 Incomplete xorg-x11-bin-dlls 6.8.99.901-1 OK xorg-x11-bin-lndir 6.8.99.901-1 OK xorg-x11-etc 6.8.99.901-1 OK xorg-x11-fenc 6.8.99.901-1 OK xorg-x11-fnts 6.8.99.901-1 OK xorg-x11-libs-data 6.8.99.901-1 OK xorg-x11-xwin 6.8.99.901-1 OK xterm 202-1 OK zlib 1.2.3-2 OK C:\cygwin> -- View this message in context: http://www.nabble.com/rsync-problems-from-Vista-installed-cygwin%2C-ok-on-XP-tf4260918.html#a12125308 Sent from the Cygwin Users mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/