X-Spam-Check-By: sourceware.org Date: Fri, 17 Aug 2007 10:28:08 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: rsync problems from Vista installed cygwin, ok on XP Message-ID: <20070817082808.GM28407@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <12125308 DOT post AT talk DOT nabble DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <12125308.post@talk.nabble.com> User-Agent: Mutt/1.4.2.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Aug 13 05:28, DaveB wrote: > > 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 *** http://cygwin.com/acronyms/#WJFFM For testing I copied over the whole /usr directory from my Vista box to a Linux machine. I'm rather puzzled how setting permissions on the *remote* machine should be affected by the OS of the source machine. I guess we need much more information. Are the affected directories Cygwin-created directories or natively created dirs? Do they contain spaces or native characters? What are the local permissions on them (getfacl/cacls)? Does your Vista account have admin privileges? UAC switched on? If so, is rsync running normally with reduced privileges or "as administrator"? Is your remote Unix account root or non-root? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/